aboutsummaryrefslogtreecommitdiffstats
path: root/docs/WriteYourTests/0_ProjectTree.md
blob: e23c834c96500009e5f15c807a3c63a6aef586c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# afb-test architecture

```tree
+-- afb_helpers
+-- app-controller-submodule
+-- build
+-- conf.d
|    +-- app-templates
|    +-- autobuild
|    +-- cmake
|    +-- controller
|    |  +-- etc
|    |  |   +-- aft-mapis.json
|    |  |   +-- aft-test.json
|    |  |   +-- CMakeLists.txt
|    |  +-- lua.d
|    |  |   +--aft.lua
|    |  |   +--aftTest.lua
|    |  |   ...
|    |  +-- CMakeLists.txt
|    +--wgt
+-- src
+-- .gitignore
+-- .gitmodules
+-- .gitreview
+-- CMakeLists.txt
+-- LICENSE-2.0.txt
+-- README.md
```

To write your tests we will only touch to the **controller** folder, specifically
to the **lua.d** and to the **etc** folders.

To make it quick you'll have to write your tests using lua language and store it
in the lua.d folder and change aft-test.json or make a new .json file to be able
to launch your tests, not that if you make a new json file, his name has to start
with "aft-" followed by the binder's name. (e.g. aft-test for the afb-test)