H
Helmut Giese
Hello out there,
I am new to JS but I am possibly facing a big and complex application
(if this sounds like crazy: The thread "Creating names of variables at
run-time" explains the background.)
I know that I will be in need of a good test framework and would like
to ask for advice.
What I would normally do is this:
Level 1) Create a basic set of functions, exercise them (automatically
via test sripts), verify their results and save those results as
further reference.
Level 2) Create more functions, create the necessary test scripts in
parallel, run all tests and verify, that the functions from level 1
still produce the same results.
Level 3 to level N) repeat
(In the dark old ages this was known as regression testing.)
Unfortunately I have absolutely no idea how to approach this (heck, I
don't even know how to save the result of a program run to a file -
you see, I'm a true JS newbie.).
Any advice will be greatly appreciated.
Best regards
Helmut Giese
I am new to JS but I am possibly facing a big and complex application
(if this sounds like crazy: The thread "Creating names of variables at
run-time" explains the background.)
I know that I will be in need of a good test framework and would like
to ask for advice.
What I would normally do is this:
Level 1) Create a basic set of functions, exercise them (automatically
via test sripts), verify their results and save those results as
further reference.
Level 2) Create more functions, create the necessary test scripts in
parallel, run all tests and verify, that the functions from level 1
still produce the same results.
Level 3 to level N) repeat
(In the dark old ages this was known as regression testing.)
Unfortunately I have absolutely no idea how to approach this (heck, I
don't even know how to save the result of a program run to a file -
you see, I'm a true JS newbie.).
Any advice will be greatly appreciated.
Best regards
Helmut Giese