Skip to content

Commit

Permalink
Update gleeunit migration steps
Browse files Browse the repository at this point in the history
  • Loading branch information
maxdeviant committed Apr 21, 2024
1 parent 4f3b819 commit a81771c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,13 @@ pub fn a_standalone_test() {

## Migrating from gleeunit

If you're coming from [`gleeunit`](https://hexdocs.pm/gleeunit)
If you're coming from [`gleeunit`](https://hexdocs.pm/gleeunit), follow these steps for an easy migration to Startest:

1. Install Startest with `gleam add --dev startest`
1. Replace all imports of `gleeunit/should` with `startest/expect`
1. Update `gleeunit/should` assertions to `startest/expect`
- Consult the migration table down below for the equivalent assertions in Startest
1. Remove `gleeunit` with `gleam remove gleeunit`
1. Optionally, begin using the `describe` API to structure your tests

| `gleeunit/should` | `startest/expect` |
Expand Down

0 comments on commit a81771c

Please sign in to comment.