Skip to:
In the first paragraph in "Write the tests" -> "Create the test tree" there is inaccuracy
http://docs.automotivelinux.org/guppy/docs/apis_services/en/dev/reference/afb-test/write-the-tests.html
Now example structure is :
test ├── CMakeLists.txt ├── etc │ ├── CMakeLists.txt │ └── aft-middlename.json ├── fixtures │ ├── CMakeLists.txt │ ├── helper.sh │ ├── data │ └── plugin.lua └── tests ├── CMakeLists.txt ├── test01.lua ├── test02.lua └── test03.lua
And it should be :
test ├── CMakeLists.txt ├── etc │ ├── CMakeLists.txt │ └── aft-agl-middlename.json ├── fixtures │ ├── CMakeLists.txt │ ├── helper.sh │ ├── data │ └── plugin.lua └── tests ├── CMakeLists.txt ├── test01.lua ├── test02.lua └── test03.lua
This leads to test widget which can be builded but never start because doesn't find configuration file that is needed . Prefix should be aft-agl- instead of just aft-
Thanks!
See the PR https://gerrit.automotivelinux.org/gerrit/21024 for the updated file. I fixed the prefix in the table tree. I also cleaned up the content for grammar and such.
In the first paragraph in "Write the tests" -> "Create the test tree" there is inaccuracy
http://docs.automotivelinux.org/guppy/docs/apis_services/en/dev/reference/afb-test/write-the-tests.html
Now example structure is :
test ├── CMakeLists.txt ├── etc │ ├── CMakeLists.txt │ └── aft-middlename.json ├── fixtures │ ├── CMakeLists.txt │ ├── helper.sh │ ├── data │ └── plugin.lua └── tests ├── CMakeLists.txt ├── test01.lua ├── test02.lua └── test03.lua
And it should be :
test ├── CMakeLists.txt ├── etc │ ├── CMakeLists.txt │ └── aft-agl-middlename.json ├── fixtures │ ├── CMakeLists.txt │ ├── helper.sh │ ├── data │ └── plugin.lua └── tests ├── CMakeLists.txt ├── test01.lua ├── test02.lua └── test03.lua
This leads to test widget which can be builded but never start because doesn't find configuration file that is needed . Prefix should be aft-agl- instead of just aft-