gbdev / rgbenv

RGBDS version manager
MIT License
6 stars 2 forks source link

Add some basic tests #1

Closed avivace closed 11 months ago

avivace commented 1 year ago

We need some basic tests

1) 1. Install specific version

  1. Switch to it
  2. Compile example project

2) 1. Install specific version

  1. Install another specific version
  2. Check if both version are "available"

Also, we need to write a script that is able to run the scripts starting from a blank state (maybe in docker? or directly as github action).

ZoomTen commented 1 year ago

think I might want to run it directly in GH Actions if I were to write one

avivace commented 1 year ago

See how pyenv tests are made: https://github.com/pyenv/pyenv/tree/master/test.

They use bats: https://github.com/bats-core/bats-core

avivace commented 11 months ago

Done in https://github.com/gbdev/rgbenv/pull/5 !