Skip to content

Rails "test:system" Rake task doesn't run any tests #188

Closed
@chrisgibson

Description

@chrisgibson

I created a new Rails application (with v7.0.3.1) and generated a new system test.

With v2.0.11 of the tailwindcss-rails gem, bin/rails test:system prints the Tailwind CSS compilation output and exits (without running any tests).

If I downgrade to v2.0.10, it prints the Tailwind CSS compilation output and proceeds to run the tests.

I believe the use of exec (introduced in #181) has changed the behavior when multiple Rake tasks are involved as is the case when the test:prepare Rails Rake task is enhanced with tailwindcss:build. The process is exiting after the Tailwind CSS compilation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions