[Freeipa-devel] [PATCH] Test suite for ipa.js and entity.js.

Adam Young ayoung at redhat.com
Fri Sep 24 23:49:34 UTC 2010


On 09/24/2010 06:34 PM, Endi Sukma Dewata wrote:
> Hi,
>
> The patch has been modified based on Adam's feedback. Thanks!
>
> Test framework for Web UI has been created using qUnit. The test files
> are located in install/static/test. The main page is index.html which
> contains links to all test suites (xxx_tests.html). The test cases are
> stored in xxx_tests.js. All test suites can be executed at once using
> all_tests.html. The test data is stored in data folder. This patch
> includes test suites for ipa.js and entity.js.
>
> Some variables and functions in ipa.js have been modified to accomodate
> testing (e.g. JSON URL, error handler, synchronous operation). The
> sampledata has been moved to test/data. The develop.js and webui.js also
> have been modified accordingly.
>
> --
> Endi S. Dewata
>
> ----- "Endi Sukma Dewata"<edewata at redhat.com>  wrote:
>
>    
>> Hi,
>>
>> Please review the attached patch. It was created based on Adam's
>> sample test files. More test cases will be added later. Thanks!
>>
>> Test suite for Web UI has been created in install/static/test using
>> qUnit. The main page is index.html which contains links to the test
>> pages (xxx_test.html). The test cases are stored in xxx_test.js. The
>> test data is stored in data folder.
>>
>> Some variables and functions in ipa.js have been modified to
>> accomodate
>> unit testing. The develop.js and webui.js also have been modified
>> accordingly.
>>
>> --
>> Endi S. Dewata
>>
>> _______________________________________________
>> Freeipa-devel mailing list
>> Freeipa-devel at redhat.com
>> https://www.redhat.com/mailman/listinfo/freeipa-devel
>>      
>>
>>
>> _______________________________________________
>> Freeipa-devel mailing list
>> Freeipa-devel at redhat.com
>> https://www.redhat.com/mailman/listinfo/freeipa-devel
ACK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20100924/94b8893b/attachment.htm>


More information about the Freeipa-devel mailing list