Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test suite to fmt, misc, msg and rpc. #6

Merged
merged 2 commits into from
Jul 1, 2020

Conversation

pepe
Copy link
Member

@pepe pepe commented Jun 25, 2020

I have only implemented tests for fmt and misc, as low hanging fruits. Requesting a direction approval :-)

As debated in #5

Only fmt and misc, as low hanging fruits. Requesting a direction approval.
@bakpakin
Copy link
Member

As a start, this looks good to me. Obviously, it’s a bit less obvious how to test networking utilities but first things first.

@pepe
Copy link
Member Author

pepe commented Jun 28, 2020

Exactly my way of thinking. I will proceed with it.

Sent with GitHawk

Only reliable way to test it I found is to use threads.

Also I had to add os/sleep so server has chance to start.
@pepe
Copy link
Member Author

pepe commented Jun 28, 2020

An only right way I have found is to use thread for the "server". I had to add some os/sleep to wait on server thread to start.

How to test netrepl I do not know :-).

@pepe pepe marked this pull request as ready for review June 28, 2020 15:00
@pepe pepe changed the title Start with the test suite Add test suite to fmt, misc, msg and rpc. Jun 28, 2020
@pepe
Copy link
Member Author

pepe commented Jun 28, 2020

Closes #5

@bakpakin bakpakin merged commit efd5f88 into janet-lang:master Jul 1, 2020
@pepe
Copy link
Member Author

pepe commented Jul 1, 2020

Thank you very much!

@pepe pepe deleted the add-test-suite branch July 2, 2020 05:10
@pepe pepe mentioned this pull request Jul 2, 2020
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