Giter VIP home page Giter VIP logo

testrail's People

Contributors

abourget avatar educlos avatar gavrie avatar hongquanto avatar jared-wallace avatar jdzimmerman avatar renzors avatar shrivanithar avatar stevewritescode avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

testrail's Issues

Unable to add custom fields for filtering the test cases.

Using GetCasesWithFilters method to filter the cases. RequestFilterForCases struct have inbuilt fields. Added the custom field to the struct but the filter is not happening for that condition.

type RequestFilterForCases struct {
CreatedAfter string json:"created_after"
CreatedBefore string json:"created_before"
CreatedBy []int json:"created_by"
MilestoneID []int json:"milestone_id"
PriorityID []int json:"priority_id"
TypeID []int json:"type_id"
UpdatedAfter string json:"updated_after"
UpdatedBefore string json:"updated_before"
UpdatedBy []int json:"updated_by"
Refs string json:"refs"
CustomTestRunConfig []int json:"custom_testrun_configs"
}
get_cases/18&suite_id=4762&custom_testrun_configs=3
The result doesot hold the filtered value. @educlos Could you please help me with this.

Support querying TestRail with pagination

Since TestRail 6.7, they introduced pagination in their APIs. This will impact this package as it is expecting to get all the info from TestRail in single API call before processing.

The full list of bulk API endpoints that include this change are below:

get_cases
get_runs
get_results
get_tests
get_results_for_case
get_results_for_run
get_plans
get_projects
get_sections
get_milestones
get_history_for_case
get_attachments_for_case
get_attachments_for_run
get_attachments_for_plan

These bulk endpoints will no longer return an array of all entities, but will instead return an object with additional pagination fields and an array of up to 250 entities. We will need to update the package according to the new response structure to support new version.

Announcing reference: https://blog.gurock.com/announcing-testrail-6-7/

Need to add example to GoDoc how to access custom fields

Hi,

could you please to add example how to access entity's custom fields.

For example, how to access "custom_build" and "custom_exec_id" from this "test result":

{
	"id": 21668106,
	"test_id": 59751564,
	"status_id": 4,
	"created_by": 66,
	"created_on": 1484043459,
	"assignedto_id": null,
	"comment": "Test will be executed in new run.",
	"version": null,
	"elapsed": "1s",
	"defects": null,
	"custom_build": "170110",
	"custom_exec_id": "11018-20170110171742"
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.