Skip to content
This repository has been archived by the owner on Sep 25, 2019. It is now read-only.

TESTCASES! and documentation. #21

Open
traverseda opened this issue Oct 26, 2013 · 2 comments
Open

TESTCASES! and documentation. #21

traverseda opened this issue Oct 26, 2013 · 2 comments

Comments

@traverseda
Copy link
Member

We're getting to be pretty complicated. We need them.

@TristanTrim
Copy link
Contributor

yup yup. I think Ill make a project of comments, cleaning, and test cases. It'll be good.

@traverseda
Copy link
Member Author

Alright, I've got some basic testcases in the testcases app. My goal for now is to write tests for user interaction, not to enforce any particular I/O on a particular function. So if it works from the users perspective, It's good to go.

All those testcases are in a new "testcases/tests.py" file. If you want to add testcases for a particular function for some reason, add it to that apps "tests.py".

So, what testcases do we need? Right now I've got something that registers a user.

Here's a list of stuff I plan on adding.

  • Register
  • Logout
  • Login
  • Create project
  • Upload STL (checks rendertype, but can't verify that the thumbnail actually worked)
  • Upload Image
  • View post (maybe use selenium to check that thumbnails are displayed?)
  • Edit Post
  • Delete File
  • Delete thumbnail file
  • Delete All Files

Anything else I should do?

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

No branches or pull requests

2 participants