diff options
author | CNlucius <lukai1@huawei.com> | 2016-09-13 11:40:12 +0800 |
---|---|---|
committer | CNlucius <lukai1@huawei.com> | 2016-09-13 11:41:53 +0800 |
commit | b731e2f1dd0972409b136aebc7b463dd72c9cfad (patch) | |
tree | 5107d7d80c19ad8076c2c97c2b5ef8d1cf3ab903 /framework/src/onos/web/gui/src/main/webapp/tests/README.txt | |
parent | ee93993458266114c29271a481ef9ce7ce621b2a (diff) |
ONOSFW-171
O/S-SFC-ONOS scenario documentation
Change-Id: I51ae1cf736ea24ab6680f8edca1b2bf5dd598365
Signed-off-by: CNlucius <lukai1@huawei.com>
Diffstat (limited to 'framework/src/onos/web/gui/src/main/webapp/tests/README.txt')
-rw-r--r-- | framework/src/onos/web/gui/src/main/webapp/tests/README.txt | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/framework/src/onos/web/gui/src/main/webapp/tests/README.txt b/framework/src/onos/web/gui/src/main/webapp/tests/README.txt deleted file mode 100644 index 213b4841..00000000 --- a/framework/src/onos/web/gui/src/main/webapp/tests/README.txt +++ /dev/null @@ -1,31 +0,0 @@ -#### -# Unit and integration tests for code under the /app directory -#### - -To run these tests, karma, node.js etc needs to be installed in the -build environment. - -From the karma installation directory, execute the following: - - $ karma start {_path_to_}/src/main/webapp/tests/karma.conf.js - -This will launch and capture a browser, install and run the unit tests. - -The configuration is currently set to re-run the tests every time a -file change is detected, (i.e. each time a source file is saved). - ----------------------------------------------------------------------- -Useful Notes -============ - -Set a 'breakpoint' with the debugger command: - - it('should define four functions', function () { - debugger; - - expect(fs.isF(gs.init)).toBeTruthy(); - // ... - }); - -Open Developer Tools in the captured Chrome browser, and reload the page. -The debugger will break at the given point, allowing you to inspect context. |