From d7ad8c48d4de653c6684e9de02bc6e3c3edc8c7d Mon Sep 17 00:00:00 2001 From: "mhb.warehouseman@gmail.com" Date: Sat, 22 Aug 2015 10:03:23 -0400 Subject: [PATCH 1/2] Clarify ambiguity Changes to be committed: modified: README.md --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4096ccb..1d341d7 100644 --- a/README.md +++ b/README.md @@ -179,7 +179,19 @@ All files | 100 | 100 | 100 | 100 | | *Note: The “tests failed” line appears twice because it is displayed once at the end of each test suite, then again at the end of the entire test run with the total count. Since we only have one test suite, the two values are identical.* -These same tests can be run directly within a Web browser by navigating to `http://path/to/intern-tutorial/node_modules/intern/client.html?config=tests/intern`. (In fact, you don’t need Node.js to be installed at all to use `client.html`.) +If `intern-tutorial` is within the scope of an htttp server, these same tests can be run directly within a Web browser by navigating to `http://path/to/intern-tutorial/node_modules/intern/client.html?config=tests/intern`. You don’t actually need Node.js to be installed at all to use `client.html`. + +#### Example using python SimpleHTTPServer. + + cd /home/yourself/tryout/intern-tutorial + python -m SimpleHTTPServer 8080 + +To see the greeting page simply open [the local host at port 8080](http://localhost:8080/). + +To **test** the greeting page go to [http://localhost:8080/node_modules/intern/client.html?config=tests/intern](http://localhost:8080/node_modules/intern/client.html?config=tests/intern). + + + ## Step 4: Write a functional test From 16051065402a746a4253daf70842c83f3270b4f6 Mon Sep 17 00:00:00 2001 From: "mhb.warehouseman@gmail.com" Date: Sat, 22 Aug 2015 10:29:12 -0400 Subject: [PATCH 2/2] Clarify ambiguities Changes committed: modified: README.md --- README.md | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 1d341d7..d592b51 100644 --- a/README.md +++ b/README.md @@ -179,18 +179,25 @@ All files | 100 | 100 | 100 | 100 | | *Note: The “tests failed” line appears twice because it is displayed once at the end of each test suite, then again at the end of the entire test run with the total count. Since we only have one test suite, the two values are identical.* -If `intern-tutorial` is within the scope of an htttp server, these same tests can be run directly within a Web browser by navigating to `http://path/to/intern-tutorial/node_modules/intern/client.html?config=tests/intern`. You don’t actually need Node.js to be installed at all to use `client.html`. +If `intern-tutorial` is within the scope of an http server, these same tests can be run directly within a web browser by navigating to `http://path/to/intern-tutorial/node_modules/intern/client.html?config=tests/intern`. You don’t actually need Node.js to be installed at all to use `client.html`. #### Example using python SimpleHTTPServer. - cd /home/yourself/tryout/intern-tutorial - python -m SimpleHTTPServer 8080 - -To see the greeting page simply open [the local host at port 8080](http://localhost:8080/). - -To **test** the greeting page go to [http://localhost:8080/node_modules/intern/client.html?config=tests/intern](http://localhost:8080/node_modules/intern/client.html?config=tests/intern). - - + yourself@vm:~$cd ~/tryout + yourself@vm:~/tryout$ tree -L 2 + . + └── intern-tutorial +    ├── app +    ├── index.html +    ├── node_modules +    ├── package.json +    ├── README.md +    └── tests + yourself@vm:~/tryout$ python -m SimpleHTTPServer 8080 + +To see the greeting page simply open [http://localhost:8080/intern-tutorial/](http://localhost:8080/intern-tutorial/). + +To **test** the greeting page go to [http://localhost:8080/intern-tutorial/node_modules/intern/client.html?config=tests/intern](http://localhost:8080/intern-tutorial/node_modules/intern/client.html?config=tests/intern). ## Step 4: Write a functional test