TeselaGen / fsml.org

A BioMADE Collaboration Project

Home Page:https://fsml.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement e2e CI tests for CLI tool

tgadam opened this issue · comments

Implement e2e CI tests for CLI tool using GitHub Actions.

@tgreen7 is this working yet? Or are just the unit tests working?

We could at least test the version command asap, and then add the other tests.

@tnrich we might need some help from you on this one, at least adding the first CI test.

@tnrich @tgreen7 can you take a look at this?

@tgadam what do we want to use for the e2e tests? Also is this about testing the compiled executable files or just testing the uncompiled cli tool?

@tnrich ideally we can use the Deno test and coverage tools with the compiled executable files... however I'm not sure that will actually work so we may need to use them with the uncompiled tool and then have a few sanity tests against the compiled tool that won't have coverage.

@tnrich do you have any more questions about this?

@tgadam are we still sticking with Deno for now?

Yeah... for now

@tnrich for now we want e2e tests but not with the compiled version of the tool because we're not sure how we're going to compile it.

We don't have any plans to generate a compiled version of the CLI. @tgadam 's previous comment still applies: for now, we need e2e tests. We have some installation packages using oclif.
@tnrich , could you look into this? Thanks!