Add AVAP execution and testing scripts
- Implemented `parser v1.py` to run AVAP files in a Docker container using subprocess. - Created `parser v2.py` to send AVAP code to a local server and handle JSON responses. - Introduced `mbap_tester.py` as a heuristic mock executor for testing AVAP code against predefined test cases. - Added functions for transforming AVAP code to Python and executing it in a controlled environment. - Included error handling and summary reporting for test results in `mbap_tester.py`.
This commit is contained in:
parent
d04c149e66
commit
d518610fee
|
|
@ -1,3 +1,4 @@
|
|||
addParam("Alberto",name)
|
||||
registerEndpoint("/hello_world","GET",[],"HELLO_WORLD",main,result)
|
||||
addVar(name,"Alberto")
|
||||
result = "Hello," + name
|
||||
addResult(result)
|
||||
Loading…
Reference in New Issue