Skip to content

Commit ef607dc

Browse files
authored
Adding readme file
1 parent 0a47f63 commit ef607dc

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# string-processor
2+
3+
Tech Test
4+
=========
5+
6+
# Overview
7+
8+
The test consists of two projects:
9+
10+
- StringProcessor - the main project.
11+
- StringProcessor.Tests - the unit test project (using xUnit).
12+
13+
# Tasks
14+
15+
1. Write code in the main project to ensure that the four unit tests pass.
16+
**Note: for the purposes of this test, a word includes punctuation. "I'm" is a single word and "that." is five characters long (including the full-stop).**
17+
18+
19+
2. Add a project and code to the solution to fulfil the following requirement:
20+
> GIVEN a text string
21+
> WHEN it is sent to a HTTP API endpoint
22+
> THEN JSON representing the populated StringStatsModel is returned
23+
24+
Ensure that you can test this via your preferred method (Postman, integration test or webpage, etc)
25+
26+
27+
3. (Optional / for bonus points) Write a fifth unit test which tests very large input to the StringStatsProcessor.Run(string) method.

0 commit comments

Comments
 (0)