Craig Oates
0d3ef63c49
update assembly info. for CLI and fix tests.
5 years ago
Craig Oates
773c973038
Refactor RequestAllTemplateFiles and quick-guide.pdf.
6 years ago
Craig Oates
5dcc71bdaa
Add TextInFileIsValid property test.
6 years ago
Craig Oates
4597543140
Added invalid-text.txt to Test Centre.
...
Rearranged TestingConstants.fs and UnitTests.fs.
Refactored File Access unit tests (C# habits).
Wrote contents test in UnitTests.fs for TextInFileIsValid function.
6 years ago
Craig Oates
063be10d18
Wrote null-check unit test for TextIsValid.
6 years ago
Craig Oates
f78ade0416
Fixed unit test naming from previous commit.
6 years ago
Craig Oates
891281d76a
Wrote unit tests for RequestCleanTextFromFile -- ends with correct end-token.
...
This includes console-waterworks, desktop-clock, test-post and word-generator.
6 years ago
Craig Oates
22f32c0859
End of session check-in.
6 years ago
Craig Oates
63c8b46e7f
Wrote RequestCleanText return with end-token test unit test.
6 years ago
Craig Oates
079f717bed
Wrote CleanResult ends with end-token property test.
...
Odd bit of code cleaning (comments, unneeded brackets Etc.)
6 years ago
Craig Oates
719dd6b5fd
Wrote CleanResult ends with "correct end-token" unit test.
...
Renamed CleanResult to include "async" naming convention.
Refactored the "cleaning" functions. The text now trims the end of the setences instead of using the "length - 1" trick we all know and love.
Updated the DefaultTestSentences collection in TestCentre.
6 years ago
Craig Oates
d4f75e113f
Updated the "contains a full stop" property test -- RequestRandomText.
...
Added Helper module to property tests.
6 years ago
Craig Oates
4ce12a41f7
Moved the helper functions in unit tests into Helper module.
...
They have produced good results in unit tests and clean enough to be used in the property tests, hence the moving out.
6 years ago
Craig Oates
a2ad9b28e2
Fixed OBOB in found in "cleaning" unit tests.
6 years ago
Craig Oates
a2f47663e0
Rmoved the "contains a full stop" unit tests.
...
Began updating tests to £ends with the correct end-token".
Added a endsAsIntended helper function in unit tests.
6 years ago
Craig Oates
c0ea51171e
Left end of seesion notes.
6 years ago
Craig Oates
0ead34f904
Wrote unit test for RequestTextFromFile -- word-generator.
6 years ago
Craig Oates
e6cc19646f
Wrote unit test for RequestCleanTextFromFile -- test-post.
...
The unit tests have caught a sporadic OBOB in the RequestCleanTextFromFile function. The splitting of the text to clean it is not 100% right.
6 years ago
Craig Oates
18d373a474
Wrote unit test for RequestCleanTextFromFile -- desktop-clock-info.
...
Note: The console-waterworks unit test from previous commit seems to be passing. I haven't touched it since the last commit so... odd... very odd.
6 years ago
Craig Oates
1dfe88def5
Wrote unit test for RequestCleanTextFromFile -- console-waterworks.
...
It is failing at the moment because of an OBOB.
6 years ago
Craig Oates
11f97f5fcd
Wrote a unit test for RequestCleanText.
...
Added DefaultSentenceCount in InputGeneration and refactored unit tests to include it where needed.
6 years ago
Craig Oates
8273cc0679
Added "intended no. of sentneces" unit test.
...
Created a DefaultSentence literal in InputGeneration. (For "clean" function purposes mostly.)
6 years ago
Craig Oates
a77a51d54f
Re-organised unit testing.
...
Left end of session comments.
6 years ago
Craig Oates
fc4161cfb3
Added unit tests for the "cleaning" functions.
6 years ago
Craig Oates
54a3db2eca
NuGet packages update.
6 years ago
Craig Oates
2ea04a94ed
Removed exceptions tests from unit tests.
6 years ago
Craig Oates
7e00466057
End of session commit.
...
The exception testing is very broken right now. Will neeed to sit down and go through it another time.
6 years ago
Craig Oates
e798ff2698
Added exception tests for RequestTextFromFile -- invalid gibberishLevel.
...
Added functions for file input generation in Test Centre.
6 years ago
Craig Oates
112ae8ad1b
Finished writting exception tests for RequestText.
6 years ago
Craig Oates
34b74e06a8
Refactored the unit tests -- now use InputGeneration module.
6 years ago
Craig Oates
c94ff012ab
Cleaned up the current exception tests.
...
Made a note about refactoring the input generation code in the Test Centre.
6 years ago
Craig Oates
a85deda44e
Got working exception tests for RequestText funtion.
...
Still rough and needs to be finished but it is now working. ("lazy" is a big help here.)
6 years ago
Craig Oates
6695574cd7
End of session notes.
6 years ago
Craig Oates
89925ec95f
Added tests for RequestAllTemplateFiles.
...
Updated the script file and ConsoleCommands-- removed unused code.
6 years ago
Craig Oates
ba8f40f41f
Added contents tests in unit tests.
6 years ago
Craig Oates
3d1c324068
Updated the property tests to generate new input on each new check.
...
Some would call that a bug fix...
Added new tests which check the content of the results.
6 years ago
Craig Oates
633a5cd5f8
Updated the name of the functions in Product Services.
...
Added "Async" to end of function names to match .Net coding convention.
6 years ago
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
36c564142e
Cleaned up the Test Centre code.
6 years ago
Craig Oates
57b991665d
Refactored tests.
...
Added new property tests.
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
b93b3fedad
Added test-post.txt to default txt files.
...
Unit tests, also, included.
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
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