63 lines
2.2 KiB
Plaintext
63 lines
2.2 KiB
Plaintext
=== Changes for Testopia 2.0 ===
|
|
|
|
Authenticaion is now done via the Bugzilla User.login method.
|
|
|
|
The following methods have been deprecated and are considered harmful.
|
|
- DEPRECATED Build.lookup_name_by_id - use Build.get
|
|
- DEPRECATED Build.lookup_id_by_name - use Build.check_build
|
|
- DEPRECATED Product.lookup_name_by_id - use Product.get
|
|
- DEPRECATED Product.lookup_id_by_name - use Product.check_product
|
|
- DEPRECATED TestCase.lookup_category_name_by_id - use Product.get_category
|
|
- DEPRECATED TestCase.lookup_category_id_by_name - use Product.check_category
|
|
- DEPRECATED TestRun.lookup_environment_name_by_id - use Environment.get
|
|
- DEPRECATED TestRun.lookup_environemnt_id_by_name - use Environment.check_environment
|
|
- DEPRECATED Component.get - use Product.get_component
|
|
|
|
Return values for following methods have changed:
|
|
- Create methods now return the new object hash instead of just the ID.
|
|
- The remaining lookup_name_by_id methods now return undef (NULL) instead of 0 if no match was found.
|
|
- add_* and remove_* methods now return an empty array on success, or an array of failure messages on failure.
|
|
|
|
Batch mode processing is now available for most methods. Passing an array or comma separated list of ids will incur batch mode.
|
|
|
|
The following methods have been added:
|
|
- Build.check_build
|
|
- Environment.check_environment
|
|
- Environment.get_caseruns
|
|
- Product.check_category
|
|
- Product.check_component
|
|
- Product.check_product
|
|
- Product.get
|
|
- Product.get_builds
|
|
- Product.get_cases
|
|
- Product.get_categories
|
|
- Product.get_category
|
|
- Product.get_component
|
|
- Product.get_components
|
|
- Product.get_environments
|
|
- Product.get_plans
|
|
- Product.get_runs
|
|
- Product.get_tags
|
|
- Product.get_versions
|
|
- TestCase.add_to_run
|
|
- TestCase.attach_bug
|
|
- TestCase.calculate_average_time
|
|
- TestCase.detach_bug
|
|
- TestCase.get_case_run_history
|
|
- TestCase.get_change_history
|
|
- TestCaseRun.attach_bug
|
|
- TestCaseRun.detach_bug
|
|
- TestCaseRun.get_completion_time
|
|
- TestCaseRun.get_history
|
|
- TestPlan.get_change_history
|
|
- TestPlan.get_product
|
|
- TestPlan.get_text
|
|
- TestPlan.store_text
|
|
- TestRun.get_add_cases
|
|
- TestRun.get_change_history
|
|
- TestRun.get_completion_report
|
|
- Testopia.api_version
|
|
- Testopia.testopia_version
|
|
|
|
The following methods have been moved:
|
|
- TestPlan.get_builds => Product.get_builds |