Skip to content

Refactor rstests as tests#1080

Open
ymcx wants to merge 8 commits into
nushell:mainfrom
ymcx:refactor-rstests-as-tests
Open

Refactor rstests as tests#1080
ymcx wants to merge 8 commits into
nushell:mainfrom
ymcx:refactor-rstests-as-tests

Conversation

@ymcx
Copy link
Copy Markdown

@ymcx ymcx commented May 16, 2026

As (shortly) discussed in #1078 and first introduced in #704 (comment).

Just like the title implies, this PR pretty much replaces all rstest unit tests along with their test cases with regular tests by manually iterating over all of the individual test cases one at a time.

Even though the refactor itself is quite simple and could easily have been and probably should have been automated, I did it completely by hand. I tried to keep all ignored test cases intact along with the comments if any, but I can't guarantee I didn't miss any. Other than that it should functionally match 1:1 to the previous behaviour.

I'm sorry for whoever has to go through the changelog as it's quite unreadable due to the sheer size of it.

@kronberger-droid
Copy link
Copy Markdown
Collaborator

I will give it a shot if i find some time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants