Skip to content

[meta] add more tests #551

Open
Open
@jyn514

Description

@jyn514

Most of these are partially addressed in #524, but it would be better to have unit tests.

Off the top of my head:

  • proc macros should work (but only for default target because of bugs in cargo)
  • all targets are built
  • anything that's not only bin is built, including cdylib, rlib, etc.
  • viewing source works (Add unit tests from the smoke test PR #570 )
  • building with docker-compose from scratch (no cache) works (expensive, doesn't need to be run on every commit)
    • including on hosts other than x86_64-unknown-linux-gnu
  • renamed crates work (e.g. constellation-rs -> constellation)
  • 'go to latest version' works and doesn't crash (Add unit tests from the smoke test PR #570 )
  • A default-target other than the host builds successfully and is uploaded to the database as the default target

This would make me much more comfortable fixing #544 and #459.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-buildsArea: Building the documentation for a crateC-technical-debtCategory: This makes the code harder to read and modify, but has no impact on end usersP-highHigh priority

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions