testing/src/ny_test
library
Classes
-
NyTest
-
Main testing orchestrator for Nylo testing framework.
Functions
-
nyCi(String description, Future<void> callback())
→ void
-
Run a test only in CI environment.
-
nyFailing(String description, Future<void> callback())
→ void
-
Mark a test as expected to fail.
-
nyGroup(String description, void callback())
→ void
-
Pest-style group wrapper.
-
nySetUp(void callback())
→ void
-
Execute a callback before each test in the current group.
-
nySetUpAll(void callback())
→ void
-
Execute a callback once before all tests in the current group.
-
nySkip(String description, Future<void> callback(), String reason)
→ void
-
Skip a test with a reason.
-
nyTearDown(void callback())
→ void
-
Execute a callback after each test in the current group.
-
nyTearDownAll(void callback())
→ void
-
Execute a callback once after all tests in the current group.
-
nyTest(String description, Future<void> callback(), {bool skip = false, dynamic tags, Timeout? timeout})
→ void
-
Pest-style test wrapper for Nylo tests.
-
nyWidgetTest(String description, Future<void> callback(WidgetTester tester), {bool skip = false, dynamic tags, Timeout? timeout})
→ void
-
Pest-style widget test wrapper with Patrol integration.