Feature #2505

Need to provide samples of good unit and functional tests.

Added by Paul Holland 11 months ago. Updated 7 months ago.

Status:Closed Start date:06/15/2012
Priority:Normal Due date:
Assignee:Mary Laser % Done:

0%

Category:Testing
Target version:2.1.0
Rank:2 Tester:

Description

This will help developers know what/how to add tests.


Subtasks

Enhancement #2721: Add unit tests for Upload UI tasksNewMary Laser

History

Updated by Paul Holland 11 months ago

  • IterNum changed from 3 to 4

Updated by Mary Laser 10 months ago

  • IterNum changed from 4 to 5

will be adressed in iteration 5

Updated by Paul Holland 10 months ago

  • Target version set to 2.0.1

Updated by Mary Laser 10 months ago

  • Status changed from New to In Progress
  • IterNum changed from 5 to 6

Updated by Mary Laser 10 months ago

  • Estimate set to 4

Updated by Mary Laser 9 months ago

  • Status changed from In Progress to Resolved

Updated by Mary Laser 9 months ago

  • Target version deleted (2.0.1)

Updated by Mary Laser 9 months ago

Larry, please review these pages for completeness and close the issue.
Thanks.

Updated by larry shi 9 months ago

  • Status changed from Resolved to Feedback
  • Assignee changed from larry shi to Mary Laser

these 2 pages are useful, thanks mary.

about UI test,
we did a discussion on it.
1. unit test, It seems that, we did not have a good solution.
2. functional test, bob mentioned curl, mark mentioned selenium, fossology has ever used simple test, did not find examples for them.

we can talk it tomorrow.

Updated by Mary Laser 9 months ago

  • Status changed from Feedback to In Progress
  • IterNum changed from 6 to 8

Per Larry's feedback, I need to include additional examples/guidance for testing the UI.

Updated by Mary Laser 9 months ago

  • Assignee changed from Mary Laser to Bob Gobeille

Reassigning to Bob to generate a functional test example using curl.

Updated by Bob Gobeille 9 months ago

  • Assignee changed from Bob Gobeille to Mary Laser

curl examples? What for? What problem are you trying to solve?

Updated by Mary Laser 9 months ago

  • Assignee changed from Mary Laser to Bob Gobeille

In past team meetings there was discussion about how to do functional UI testing. You had suggested using curl as a possible means for testing UI functionality. (See Larry's note #10) In discussions with Paul today, he suggested I reassign this to you to create an example of a functional UI test using curl. I'm not sure what you had in mind, but hopefully this will jog your memory.

Updated by Bob Gobeille 9 months ago

  • Status changed from In Progress to Resolved

See svn 6181
Simple testing script checked in to src/testing/regression

Updated by Paul Holland 9 months ago

  • Target version set to 2.1.0

Updated by Paul Holland 8 months ago

  • Assignee changed from Bob Gobeille to Mary Laser

Updated by Mary Laser 8 months ago

  • Status changed from Resolved to Closed

Nice test Bob! Need to chat w/danger about incorporating into CI.

Also available in: Atom PDF