Add Racket's rackunit to vim-test by joereynolds · Pull Request #191 · vim-test/vim-test · GitHub
Skip to content

Add Racket's rackunit to vim-test#191

Merged
codeinabox merged 12 commits into
vim-test:masterfrom
joereynolds:master
May 23, 2017
Merged

Add Racket's rackunit to vim-test#191
codeinabox merged 12 commits into
vim-test:masterfrom
joereynolds:master

Conversation

@joereynolds

Copy link
Copy Markdown
Contributor

This adds support for Racket's built-in unit testing module, Rackunit.

Unfortunately a lot of the options available (running suites etc...) aren't available through the CLI meaning we can only really do :TestFile (hence the very slim PR)

Let me know if there are any problems.

Thanks! :D
Joe

@codeinabox codeinabox left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this! Didn't know about Racket before today. Nothing wrong with it just supporting :TestFile

@janko janko left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than the few minor comments, looks good, thanks!

Comment thread autoload/test/racket/rackunit.vim Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This function doesn't need to be defined, in other runners it's defined as a custom helper function for that specific runner, but here it's not used.

Comment thread plugin/test.vim Outdated
\ 'Lua': ['Busted'],
\ 'PHP': ['Codeception', 'PHPUnit', 'Behat', 'PHPSpec', 'Kahlan', 'Peridot'],
\ 'Perl': ['Prove'],
\ 'Racket': ['Rackunit'],

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would prefer if it was named RackUnit, that's what the command name would be if the user chooses to generate it.

Comment thread README.md Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here you can also call it "RackUnit", since that's the official name.

@codeinabox codeinabox merged commit 6d77b6e into vim-test:master May 23, 2017
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.

3 participants