Skip to content

Latest commit

 

History

History
52 lines (40 loc) · 4.31 KB

link-repo.md

File metadata and controls

52 lines (40 loc) · 4.31 KB

Resources, Links, and notes around testing

Alt Text

Resources and additional links:

Community notes

Kotlinlang Slack

Analysis API

Code Environment setups

Setting up the Kotlin compiler

Setting up AndroidX Compose compiler plugin

Kotlin Compiler Debugging Points

Setting up FIR testing slack reference

  • Useful tests:
    • FirDiagnosticTestGenerated in :compiler:fir:analysis-tests: tests takes some program as input, give it to the frontend and render diagnostics reported by the frontend
    • FirBlackBoxCodegenTestGenerated in :compiler:fir:fir2ir: tests takes some program as input, runs FIR, fir2ir and JVM IR backend and then runs box method from compiled code. If box returns "OK" then the test is passed
  • Add myShinyTest.kt to corresponding testData directory and run ./gradlew generateTests, or hit Generate All Tests run configuration in in IDEA and it will add testMyShinyto corresponding test runner