novifinancial / serde-reflection

Rust libraries and tools to help with interoperability and testing of serialization formats based on Serde.
Apache License 2.0
139 stars 42 forks source link

[dart] make `dart test` work from runtime/dart #118

Closed ma2bd closed 3 years ago

ma2bd commented 3 years ago

Summary

This is me trying to make the basic Dart unit tests runnable from the CLI.

Test Plan

cd serde-generate/runtime/dart
dart test
jerel commented 3 years ago

I wasn't sure if the runtime/* folders were meant to be runnable or just source directories but if you're cool with the pubspec being added in there it seems good to me. Simpler than doing the copy and makes it easier/faster to add new tests.

ma2bd commented 3 years ago

I wasn't sure if the runtime/* folders were meant to be runnable or just source directories but if you're cool with the pubspec being added in there it seems good to me. Simpler than doing the copy and makes it easier/faster to add new tests.

Thanks for the comment. Great! Yes, we do have a few build/package files for some languages.