Skip to content
This repository has been archived by the owner on Nov 14, 2020. It is now read-only.

Add unit tests #10

Open
joelmccracken opened this issue Nov 19, 2013 · 3 comments
Open

Add unit tests #10

joelmccracken opened this issue Nov 19, 2013 · 3 comments
Milestone

Comments

@joelmccracken
Copy link

It seems like this could be extremely useful.

A decent project to start with might be bats: https://github.com/sstephenson/bats

@alandipert
Copy link
Owner

Totally, but we should hold off until namespaces, exceptions, and deftype are baked. Then we'll be able to have our own testing library :-)

@joelmccracken
Copy link
Author

Yeah, though it's helpful to use tests even at this early stage

Sent from my iPhone

On Nov 19, 2013, at 11:31 AM, Alan Dipert [email protected] wrote:

Totally, but we should hold off until namespaces, exceptions, and deftype are baked. Then we'll be able to have our own testing library :-)


Reply to this email directly or view it on GitHub.

@quoll
Copy link
Collaborator

quoll commented Nov 19, 2013

This has occurred to me as well.

Part of the reason I've been pushing things into core is to test out what
I'm doing. Stacking functions on top of each other ensures that the whole
framework is stable. It's not unit testing, but it does find problems.

However, the repl testing I'm doing can always be neglected, so it would be
nice to automate it a little. A simple file like test.gk could run a series
of assertions, with the expectation that they're all true. It's not much,
but it might be a start.

On Tue, Nov 19, 2013 at 6:01 PM, Joel McCracken [email protected]:

Yeah, though it's helpful to use tests even at this early stage

Sent from my iPhone

On Nov 19, 2013, at 11:31 AM, Alan Dipert [email protected]
wrote:

Totally, but we should hold off until namespaces, exceptions, and
deftype are baked. Then we'll be able to have our own testing library :-)


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHubhttps://github.com//issues/10#issuecomment-28847709
.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants