Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMickael Istria2016-11-24 09:52:11 +0000
committerMickael Istria2016-11-24 09:52:11 +0000
commite54f4d602da46df813fc6f85fc4a4a8f2b886b55 (patch)
treeb96cf7b38a96bb1ff1f6f44d8e3b19d41cf271d3
parent04d81a77272fd25a15dd7c5fb46fb50d7cc12673 (diff)
downloadorg.eclipse.epp.packages-e54f4d602da46df813fc6f85fc4a4a8f2b886b55.tar.gz
org.eclipse.epp.packages-e54f4d602da46df813fc6f85fc4a4a8f2b886b55.tar.xz
org.eclipse.epp.packages-e54f4d602da46df813fc6f85fc4a4a8f2b886b55.zip
Document JS package test-cases.
-rw-r--r--packages/org.eclipse.epp.package.javascript.tests/TestCases.md42
1 files changed, 42 insertions, 0 deletions
diff --git a/packages/org.eclipse.epp.package.javascript.tests/TestCases.md b/packages/org.eclipse.epp.package.javascript.tests/TestCases.md
new file mode 100644
index 00000000..2a9f82b2
--- /dev/null
+++ b/packages/org.eclipse.epp.package.javascript.tests/TestCases.md
@@ -0,0 +1,42 @@
+# TODO: Automate tests
+
+Running manual tests is very expensive. The test cases below should be considered for automation!
+
+# Test Cases for JS EPP package
+
+Any failure to those test cases should be reported to EPP or other Eclipse.org project causing the error, and shared with EPP mailing-list.
+
+There is big room for improvements in these test-cases (more test-case, more detailed steps...). Feel free to contribute!
+
+## Startup
+
+. Startup package on a new workspace
+. Check: error log doesn't report issue
+
+## New Static Web Project enables HTML, CSS and JS
+
+. Create a new Static Web Project
+. Create/Open an HTML file => Check completion, highlighting and other features are enabled
+. Create/Open an CSS file => Check completion, highlighting and other features are enabled
+. Create/Open an JS file => Check completion, highlighting and other features are enabled
+
+## Import an existing JS project
+
+. File > Open Projects from Filesystem... Pick a JS project such as mathjs (on GitHub), proceed
+. Check: Project has the JavaScript nature and right content
+
+## Editing JS
+
+. From the mathjs project above, pick an interesting .js file
+. Check: syntax highlighting, completion... are enabled and work as expected
+
+## Node/NPM actions
+
+. From the mathjs project above
+. Check: Run As actions are available on projet, package.json and work as expected
+
+## Debug
+
+. From the mathjs project above
+. put a breakpoint, start debug
+. Check: breakpoint is hit, values are visibile, step into/over and debugger in general works \ No newline at end of file

Back to the top