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

Semi-automated testing #77

Open
mrshu opened this issue Dec 23, 2013 · 3 comments
Open

Semi-automated testing #77

mrshu opened this issue Dec 23, 2013 · 3 comments

Comments

@mrshu
Copy link
Member

mrshu commented Dec 23, 2013

Although I realize that can hardly test everything in the simulator, we should at least have tests for the graphical functions.

My idea is to have some kind of a tester which would run our tests and compare it to predefined output images.

What do you think @Adman?

@Adman
Copy link
Member

Adman commented Dec 24, 2013

I can't imagine how this would work

@mrshu
Copy link
Member Author

mrshu commented Dec 24, 2013

Well, all those SomethingOut functions draw on a canvas. This canvas can be exported as a bitmap file (think something.bmp). So my idea is to have these tests which would consist of SomethingOut functions that would generate some image which would be then exported to bitmap and compared to other (expexted) bitmap which we would hand-create.

Does it make more sense now?

"Adrián Matejov" notifications@github.com wrote:

I can't imagine how this would work


Reply to this email directly or view it on GitHub:
#77 (comment)

mrShu, http://mr.shu.io

@Adman
Copy link
Member

Adman commented Dec 24, 2013

I have no idea how this test code will look like, but you can start with it.

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

No branches or pull requests

2 participants