On 09/27/2010 11:04 AM, Rob Crittenden wrote:
Adam Young wrote:
On 09/24/2010 07:49 PM, Adam Young wrote:
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"<edew...@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@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel



_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel
ACK


_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel
Pushed to master

Is there any documentation on how to run the tests?

rob
Not yet, but for now, just view the html pages in the browser, and you will se the test results as they are run.

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to