You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/development.md
+3-12Lines changed: 3 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,24 +7,15 @@ You can either build the image and run the needed commands manually or rather us
7
7
8
8
-`npm run docker:build` builds the docker image with the tag `asyncapi/modelina` (the rest of the scripts run this one as well).
9
9
-`npm run docker:test` runs the main test suite.
10
-
-`npm run docker:test:blackbox` runs the blackbox test suite.
10
+
-`npm run docker:test:blackbox` runs the BlackBox test suite.
11
11
12
12
## Environment setup
13
13
14
14
To setup the environment follow these steps:
15
15
1. Setup the project by first installing the dependencies `npm install`
16
16
2. Make sure the tests pass by running `npm run test` script
17
-
-[Blackbox testing](#blackbox-testing) are excluded when running the `test` script because it require some extra setup. Please refer to [Blackbox testing section](#blackbox-testing) below.
18
17
- You can update snapshots by running `npm run test -- -u`
19
18
3. Make sure code is well formatted and secure `npm run lint`
20
19
21
-
## Blackbox testing
22
-
Please refer to [Docker section](#docker) above if you wanna run the tests directly in Docker without configuring anything extra on your machine.
23
-
If you prefer to install all the dependencies locally, keep reading.
24
-
25
-
The blackbox testing have some different requirements in order to successfully run:
26
-
- To to run the `java` blackbox tests, you need to have JDK installed.
27
-
- To to run the `ts` blackbox tests, you need to have TypeScript installed globally - `npm install -g typescript`.
28
-
- To to run the `C#` blackbox tests, you need to have C# compiler installed globally. - https://www.mono-project.com/download/stable/
29
-
30
-
By default the blackbox tests are not run with the regular `npm run test`, but can be run with `npm run test:blackbox`.
20
+
## BlackBox testing
21
+
We have several BlackBox tests that are run separately from the `npm run test` script. Please refer to the [BlackBox documentation](../test/blackbox) for further information.
0 commit comments