Skip to content

Commit dc98741

Browse files
committed
Merge commit '6403df6e5f1becd7e3d03f2353d0aad13d2e8245' as 'standard_template_library'
2 parents 7343a9c + 6403df6 commit dc98741

4 files changed

Lines changed: 82 additions & 0 deletions

File tree

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
***definitions***
2+
3+
- :App: is a console application.
4+
5+
- :MainExecutableFile: is the main executable code file of :App:.
6+
7+
- :ConformanceTestsExecutableFile: is the main executable code file of :ConformanceTests:.
8+
9+
10+
***implementation reqs***
11+
12+
- :Implementation: should be in Go lang.
13+
14+
- :Implementation: should include unit tests using Go's built-in testing package.
15+
16+
17+
***test reqs***
18+
19+
- :ConformanceTests: should be implemented in Go lang.
20+
21+
- :ConformanceTestsExecutableFile: should be called "conformance_tests.go".
22+
23+
- :ConformanceTests: will be executed using the command "go run <conformance tests folder>/conformance_tests.go" from a folder that contains :MainExecutableFile:.
24+
25+
- Before :ConformanceTests: are executed, "go get" will be executed in the folder containing :MainExecutableFile:.
26+
27+
- Before :ConformanceTests: are executed, "go get" will be executed in <conformance tests folder>.
28+
29+
- :App: can be executed using the command "go run".
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
***definitions***
2+
3+
- :App: is a console application.
4+
5+
- :MainExecutableFile: is the main executable code file of :App:.
6+
7+
8+
***implementation reqs***
9+
10+
- :Implementation: should be in Python.
11+
12+
- :Implementation: should include :UnitTests: using Unittest framework! If :UnitTests: are put in the subfolder, make sure to include __init__.py to make them discoverable.
13+
14+
***test reqs***
15+
16+
- :ConformanceTests: of :App: should be implemented in Python using Unittest framework. :ConformanceTests: will be run using "python -m unittest discover" command. Therefore, if :ConformanceTests: are put in the subfolder, make sure to include __init__.py to make them discoverable.
17+
18+
- :ConformanceTests: must be implemented and executed - do not use unittest.skip() or “any other test skipping functionality.
19+
20+
- The current working directory contains :MainExecutableFile:.
21+
22+
- :App: can be executed using the command "python :MainExecutableFile:".
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
import:
3+
- typescript-react-app-template
4+
---
5+
6+
***functional specs***
7+
8+
- Implement the entry point for :App:.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
***definitions***
2+
3+
- :App: is a web application.
4+
5+
6+
***implementation reqs***
7+
8+
- :App: should be implemented in TypeScript, using React as a web framework.
9+
10+
- :App: will run on Node.js as the runtime environment.
11+
12+
- :App: should run on port 3000.
13+
14+
- The start script should be added to the package.json file.
15+
16+
***test reqs***
17+
18+
- :ConformanceTests: of :App: should be written in TypeScript, using Cypress as the framework for :ConformanceTests:.
19+
20+
- The following configuration should be added:
21+
- The appropriate include section should be added to tsconfig.json file.
22+
- The cypress.config.mjs file should use the 'cypress' package.
23+
- The typescript package should be added to the devDependencies in package.json

0 commit comments

Comments
 (0)