Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
xlash committed Sep 25, 2015
1 parent 53e9547 commit b6af469
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions README.md
@@ -1 +1,45 @@
# framework_for_postman


This hack/add-on to Postman can be use for better automatic testing, repetition of tests cases and better logging.

This was build on the side as a hobby, and I can offer best-effort support only.

When you launch Postman, or any Runner window, another reporting window should pop up.

You can now use a few methods to define sequence of tests cases, and to repeat the whole thing.

For example :

TC-1
Sequence-1 :
Pre-request script :
//All my invalid characters for testing, in an array
repetition_data_array = FRAMEWORK.INVALID_CHARACTERS.split('');
FRAMEWORK.repeatTC_for(repetition_data_array);
FRAMEWORK.test_init("TC-1","Test case name",['testcategories#1']);
FRAMEWORK.sequence_init("Part1 - Create");
Tests :
FRAMEWORK.sequence_end(tests);
Sequence-2 :
Pre-request script
FRAMEWORK.sequence_init("Part2 - Modify");
Tests :
FRAMEWORK.sequence_end(tests);
Sequence-3 :
Pre-request script
FRAMEWORK.sequence_init("Part3 - Validation");
Tests :
FRAMEWORK.sequence_end(tests);
FRAMEWORK.test_exit();
TC-2




***Every tests cases should have it's subfolder in a collection, and every sequence is a test under that folder.

Collection/
TestCase-TC1/
sequence #1
sequence #2

0 comments on commit b6af469

Please sign in to comment.