Skip to content

Integration tests are not run #128

@dzamlo

Description

@dzamlo

The tests in the tests folder are not run.

Because of the [[test]] in Cargo.toml cargo only run the test specified here. And this test is just an empty file. Because you want to use a non-default feature in a test, this means you cannot just remove this section.

I see multiple ways to solve this issue:

  1. Manually specify all the tests in Cargo.toml
  2. Include all other tests from liquid.rs (via mod) (this could be done automatically with code generation in build.rs)
  3. Remove the section from Cargo.toml but specify the feature on the command line each time (cargo test --features "serde")

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