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

Endi Sukma Dewata edewata at redhat.com
Fri Sep 24 22:34:36 UTC 2010


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: edewata-freeipa-0008-2-Test-framework-for-Web-UI.patch
Type: text/x-patch
Size: 438009 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20100924/5ed175a6/attachment.bin>


More information about the Freeipa-devel mailing list