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

Problem Unit Test #15

Open
dieend opened this issue Jul 30, 2012 · 0 comments
Open

Problem Unit Test #15

dieend opened this issue Jul 30, 2012 · 0 comments
Assignees

Comments

@dieend
Copy link
Member

dieend commented Jul 30, 2012

Create unit test for Problem models.

See sample of unit test at protected/tests/unit/models/UserTest.php
See how to insert sample data to database at protected/tests/fixtures/Users.php

How to run the test:

  1. Go to folder protected/tests
  2. run phpunit unit/models/[Filename]

How to use git: ask me
How to submit your work: ask me

How to install phpunit: google
How to install git: google

Have any other question? ask me.

@ghost ghost assigned chidx Jul 30, 2012
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