Craig Oates
0877fe4600
Refactored the Test Centre.
...
Tests are split up into smaller modules, making it easier to target then in the test runner.
6 years ago
Craig Oates
a481cd02fb
Fixed bug in unit tests.
...
Began adding contents checks in unit tests. Because the code is now using async, the tests return the task properties and not the content anymore.
6 years ago
Craig Oates
231b6eea39
Updated the remaining functions in Product Services to async.
...
Added string literals to script in WetPancake lib. for quick testing in "script mode".
6 years ago
Craig Oates
d354b07ad9
Began making Wet Pancake lib. async.
6 years ago
Craig Oates
36ea86a57e
Left notes for next session.
...
Removed dead code from script file.
6 years ago
Craig Oates
4bec8e10e8
Minor spelling in ConsoleCommands.
6 years ago
Craig Oates
36c564142e
Cleaned up the Test Centre code.
6 years ago
Craig Oates
b939af66e2
Cleaned up WetPancake library code.
...
Test Centre was not touched in this pass.
6 years ago
Craig Oates
2e24dc1e74
Merge pull request #4 from CraigOates/0.4-p2
...
0.4 p2 into 0.4 p1
6 years ago
Craig Oates
baa1fa2cb3
Refactored text generation.
...
All tests are pssing and produces better results at runtime.
6 years ago
Craig Oates
aeed1fd1f4
Added check to catch the seq. length exception.
...
All tests are passed before completing this commit.
6 years ago
Craig Oates
1a9b2020bb
End of session check-in. Heading into studio to continue work on main machine.
6 years ago
Craig Oates
b970cc5cfe
Left a comment explaining where I am up to and potential lead to fix bug.
6 years ago
Craig Oates
ac8f127bb5
Began working on random failure bug.
6 years ago
Craig Oates
57b991665d
Refactored tests.
...
Added new property tests.
6 years ago
Craig Oates
120c57e044
Added new property test.
...
Refactored pre-existing prop. test.
6 years ago
Craig Oates
b67f2ec2e4
Added property test.
6 years ago
Craig Oates
e35fbec443
Got first property test working.
...
The Visual Studio runner for XUnit is detecting the FsCheck test and displaying it test explorer, as well.
6 years ago
Craig Oates
c4685e9092
Attempting to add FsCheck back into TestCentre.
...
XUnit is setup so how hard can this be?
6 years ago
Craig Oates
1aebb6b5c8
Left a note for possible new features.
6 years ago
Craig Oates
b93b3fedad
Added test-post.txt to default txt files.
...
Unit tests, also, included.
6 years ago
Craig Oates
b901355437
Merge pull request #3 from CraigOates/0.3-p1
...
0.3 p1
6 years ago
Craig Oates
21c9ef1afb
Fixed command-method naming mix-up.
...
RequestTextFromFile to GenerateTextFromFile. I was stack overflows due to recursion.
6 years ago
Craig Oates
8c71321da8
Added try catch block to the command-methods.
6 years ago
Craig Oates
f89bf493ca
Fixed NuGet package cache problems.
...
Added more unit tests.
6 years ago
Craig Oates
20d2ce199d
Refactored the unit tests.
...
Should be more readable in the test runner and the code itself.
6 years ago
Craig Oates
7783dc10fc
Added try-catch block in console commands.
...
This is to harden the Generate Random Text function at runtime.
6 years ago
Craig Oates
d03a7dc7c1
Added extra checks and safe guards for the Generate Random Text function.
6 years ago
Craig Oates
b1e4ffe126
Wrote basic unit tests.
...
Null checks for public facing library code.
6 years ago
Craig Oates
f18038397a
Updated NuGets in Test Centre.
6 years ago
Craig Oates
44d8c5e702
Got Xunit running.
...
Visual Studio runner, also, working.
6 years ago
Craig Oates
01c3626f1d
End of session check-in.
...
Hooking up the testing.
6 years ago
Craig Oates
fbe83f6593
Added XUnit NuGets.
6 years ago
Craig Oates
dc6cfb0bbe
Added FsCheck NuGets.
6 years ago
Craig Oates
145ea8bb0c
Created a testing project.
6 years ago
Craig Oates
8009bd98c7
Removed unused open statements.
6 years ago
Craig Oates
8ebbfd2cae
Updated script file to match code structure.
6 years ago
Craig Oates
10f602caef
End of session check-in.
...
Fixed the stick random file bug.
In the middle of the random item = 0 bug.
6 years ago
Craig Oates
b5e9d86c42
Added word-generator.txt file.
6 years ago
Craig Oates
523b2998ab
Refactored command-methods to one-liners.
6 years ago
Craig Oates
8b89a5b133
Moved apply standard setup code to data processing.
...
Removed irrelevant comments.
6 years ago
Craig Oates
84855b59c5
Merge pull request #2 from CraigOates/0.2-p1
...
0.2 p1
6 years ago
Craig Oates
48db020810
Added attributes to request text from file command-method.
6 years ago
Craig Oates
0441f94d84
Added request text from file code.
...
Command-method, also, written.
6 years ago
Craig Oates
6689ba54b1
Added help attributes to the generate text command-method.
6 years ago
Craig Oates
1c86e361d5
Wrote generate text command-method.
6 years ago
Craig Oates
22cf11f11c
Wrote request text function.
6 years ago
Craig Oates
1efe52c22a
Began cleaning up the duplicate code.
6 years ago
Craig Oates
717fa0c8d8
Updated the comment explaining the need for the thread-sleep line.
6 years ago
Craig Oates
4df614daf8
Found "A" solution to the repetitive sentences.
...
The program sorta runs too quick for random number to generate a different value. (The computer doesn't change "state" quickly enough so "same inputs" are use practically.)
I don't know if this is the best way to go about it but it works...
Also, the code is a mess as always.
6 years ago