Skip to content

validate district scripts against compiled Java API via JPype reflection - #28

Open
adamkorynta wants to merge 3 commits into
feature/switch_to_instantfrom
testing/test_compiled_java
Open

validate district scripts against compiled Java API via JPype reflection#28
adamkorynta wants to merge 3 commits into
feature/switch_to_instantfrom
testing/test_compiled_java

Conversation

@adamkorynta

Copy link
Copy Markdown
Member

Fixes #25

  • Reflect over the real compiled classes via JPype
  • Target the ScriptableInflow / ScriptableGateFlowCalc / ScriptableGateSettings interfaces
  • Validate call arity and best-effort argument-type categories (numeric/boolean/string) per overload
  • Add conftest.py to start the shared JVM
  • Wire smokeTestDistrictScripts (build.gradle) to depend on installPythonWheelForSmokeTest so JPype

Fixes #25
- Reflect over the real compiled classes via JPype
- Target the ScriptableInflow / ScriptableGateFlowCalc / ScriptableGateSettings interfaces
- Validate call arity and best-effort argument-type categories
  (numeric/boolean/string) per overload
- Add conftest.py to start the shared JVM
- Wire smokeTestDistrictScripts (build.gradle) to depend on
  installPythonWheelForSmokeTest so JPype
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update test_district_scripts to test against compiled Java

1 participant