https://blueprints.launchpad.net/fuel/+spec/ui-unit-tests
Implement unit test runner for Fuel UI.
Currently Fuel UI is covered only by functional tests based on CasperJS functional testing framework. It allows end-to-end testing of Fuel UI, but there are lots of cases which can’t be covered (or covered with lots of efforts) by functional testing. So we need also to be able to write and run unit tests for Fuel UI.
We should implement unit test runner for Fuel UI using Intern Framework: * It should be available by running ./run_tests.sh --ui-unit. * It should be voting. * At least one test suite should be added (for Expression parser).
There are quite a few JS unit test frameworks available, but we should go with Intern as it also support functional testing and we plan to switch to it someday.
None.
None.
None.
None.
None.
None.
None.
None.
None.
If suitable, new changes to Fuel UI should be covered by unit tests.
Intern uses Selenium, so Java Runtime Environment (JRE) 1.6 or newer version should be installed on Fuel CI workers.
Primary assignee: * Vitaly Kramskikh <vkramskikh@mirantis.com>
Other contributors: * Przemyslaw Kaminski <pkaminski@mirantis.com>
Mandatory design review: * Vitaly Kramskikh <vkramskikh@mirantis.com>
QA engineer: * Anastasia Palkina <apalkina@mirantis.com>
None.
None.