Skip to content

[RFC] Clean up/rethink test infrastructure #1206

Closed
@beauby

Description

Currently the tests use models and serializers defined in test/fixtures/poro.rb and test/fixtures/active_record.rb (as well as some dynamically defined/locally scoped serializers inside tests) in combination with actual fixtures defined in the setup method of many test classes, which leads to lots of code duplication.
I am opening this RFC to discuss alternatives to this, as I feel writing tests should be easier and cleaner.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions