[Bese-devel] Need help in FiveAM

Henrik Hjelte henrik at evahjelte.com
Thu Apr 26 14:37:21 UTC 2007


You need not/should not have symbols in the keyword package in the
arguments to the def-suite and in-suite macros.

This will work:
(def-suite testpmu-suite)
(in-suite testpmu-suite)
..tests..
(run! 'testpmu-suite) 

Also, note that there is an in-suite* which combines def-suite and
in-suite to save some typing.

/Henrik Hjelte

On Thu, 2007-04-26 at 18:17 +0530, Gautam Anand wrote:
> Hi Kilian,
> 
> Thanks for replying.
> 
> As Example
> Following is the test-suite:
> 
> *(*/*def-suite :testpmu-suite  :description "My PMU")
> (in-suite :testpmu-suite)
> 
> 
> (test form-name
>   (is (stringp (form-name "gautam")))
>   (is (equal "aafaaga" (form-name "ravi"))))
> 
> (test db-compatible
>  
>   (is (stringp (db-compatible "fafafafaf")))
>   (is (characterp (db-compatible "adaafaaf")))
>   (is (equal "gautam" (db-compatible "gautam")))
>   (is (equal "anand" (db-compatible "gautam"))))
> 
> 
> 
> (test return-template
>  
>   (is (stringp (return-template *update-logout-message*)))
>   (is (equal "gautam" (return-template *update-logout-message*))))
> 
> 
> (test not-auth-update
>  
>   (is (listp (not-auth-update)))
>   (is (stringp (not-auth-update)))
>   (is (characterp (not-auth-update)))
>   (is (nil (not-auth-update))))
> 
> 
> */Running by the command /*(run! 'testpmu-suite) and  (run! :testpmu-suite)
> *but neither of them is working.
> 
> 
> Thanks!!!
> Gautam Anand
> /
> 
> 
> 
> Kilian Sprotte wrote:
> > Hi Gautam,
> >
> > maybe you can send us some parts of your test suite and also the
> > commands you use to run the tests.
> >
> > Then things should get clearer,
> > cheers,
> > Kilian
> >
> > On 4/18/07, Gautam Anand <gautam.anand at cleartrip.com> wrote:
> >> Hi Guys,
> >>
> >> Need help in FiveAM Testing framework.
> >>
> >> I made test-suite and had 5 to 6 tests in it. Now the problem is if i am
> >> running individual tests by its name, its running fine, but when i am
> >> trying to run with test-suite name, its not running (as we all know
> >> Running a test suite causes all of its tests and test suites to be run.)
> >>
> >> Can any body tell me what can be the probable reason???
> >>
> >>
> >> Thanks!!
> >> Gautam Anand
> >>
> >> _______________________________________________
> >> bese-devel mailing list
> >> bese-devel at common-lisp.net
> >> http://common-lisp.net/cgi-bin/mailman/listinfo/bese-devel
> >>
> > _______________________________________________
> > bese-devel mailing list
> > bese-devel at common-lisp.net
> > http://common-lisp.net/cgi-bin/mailman/listinfo/bese-devel
> >
> >
> 
> _______________________________________________
> bese-devel mailing list
> bese-devel at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/bese-devel
> 
> 




More information about the bese-devel mailing list