1AbcKit was also tested on user scenarios from existing apps. 2 3To see the examples of using abckit api for user scenarios - check `c_api` with c api using and `cpp_api` - with cpp api using. 4 5# Testing 6## Build abckit and run scenario tests: 7```shell 8./ark.py x64.release abckit_clean_scenario_tests --gn-args="is_standard_system=true abckit_enable=true" 9``` 10 11## Run separate test or tests 12```shell 13cd out/x64.release 14 15LD_LIBRARY_PATH=./arkcompiler/runtime_core/:./arkcompiler/ets_runtime/:./thirdparty/icu/:./thirdparty/zlib/:./test/test \ 16./tests/unittest/arkcompiler/runtime_core/libabckit/abckit_clean_scenarios --gtest_filter="*Your filter*" 17``` 18 19Common gtest_filter values: 20`"AbckitScenarioCTestClean*"` - run only c api tests 21`"AbckitScenarioCppTestClean*"` - run only cpp api tests 22`"*<name>"` - run test with name `<name>` from c and ccp apis 23`"AbckitScenarioCppTestClean.<name>"` - run test with name `<name>` from ccp apis 24`"AbckitScenarioCTestClean.<name>"` - run test with name `<name>` from c apis 25 26You can find the name of test in corresponding .cpp 27 28# Run tests with debug output 29If you want to see the debug messages about test: 30```shell 31export LIBABCKIT_DEBUG_MODE=1 32./ark.py x64.debug abckit_clean_scenario_tests --gn-args="is_standard_system=true abckit_enable=true" 33``` 34and run tests from `out/x64.debug` 35 36To turn off the debug messages: 37```shell 38export LIBABCKIT_DEBUG_MODE=2 39``` 40