Adding Testcases to modules

Alan DeKok aland at deployingradius.com
Wed Oct 10 21:35:36 CEST 2018


On Oct 10, 2018, at 3:05 PM, shivu prasad <shivaprasad2452 at gmail.com> wrote:
> 
> Hi Alan,
> 
> Thanks for help I able to run default test suite.
> configure
> - make
> - make test (not tests)
> worked after some ssl fix.

  Sure.

> Now I want to add testcases to my new module
> can you help me, what steps  or config I need to do for adding testcases tp
> my module.
> Here is my understanding
> 
> - Create module in src/tests/modules (I am referring the files module).
> - Do I need to add entry or need config change to make them run.

  See the existing examples.

src/tests/modules/always/module.conf

  - the configuration for your module

src/tests/modules/always/*.unlang

  Tests to run for the modules

  Alan DeKok.



More information about the Freeradius-Devel mailing list