Ready to get started?

Join Adocasts Plus for $8/mo, or sign into an existing Adocasts Plus account, to get access to all of our lessons.

robot mascot smiling

Pragmatic Testing in AdonisJS with Japa #2.5

Filtering & Controlling Test Runs

In This Lesson

Learn how to control Japa's test execution. Ignore tests using skip, only run specific tests using pinning, and also how assigning tags can powerfully allow us to easily filter tests across specs.

Created by
@tomgobich
Published

Japa gives us a number of options to dictate which tests run. We've already covered some of the CLI-based options we have to filter our tests, within our Test Runner lesson, but we can also take it a step further with per-test designations.

Let's start again by creating a new spec

node ace make:test controlling_runs --suite=unit

Join the Discussion 0 comments

Create a free account to join in on the discussion
robot comment bubble

Be the first to comment!