{"id":25776316,"url":"https://github.com/smartrics/RestFixture","last_synced_at":"2025-02-27T06:06:01.549Z","repository":{"id":998087,"uuid":"809304","full_name":"smartrics/RestFixture","owner":"smartrics","description":"A FitNesse fixture for testing REST services","archived":false,"fork":false,"pushed_at":"2023-01-02T22:00:29.000Z","size":51334,"stargazers_count":97,"open_issues_count":7,"forks_count":78,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-02-17T01:16:07.190Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/smartrics/RestFixture/wiki","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smartrics.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-07-31T14:13:03.000Z","updated_at":"2024-03-31T14:11:45.000Z","dependencies_parsed_at":"2023-01-13T10:50:30.185Z","dependency_job_id":null,"html_url":"https://github.com/smartrics/RestFixture","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartrics%2FRestFixture","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartrics%2FRestFixture/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartrics%2FRestFixture/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartrics%2FRestFixture/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smartrics","download_url":"https://codeload.github.com/smartrics/RestFixture/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240404754,"owners_count":19796064,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-27T06:01:21.425Z","updated_at":"2025-02-27T06:06:01.541Z","avatar_url":"https://github.com/smartrics.png","language":"Java","funding_links":[],"categories":["测试"],"sub_categories":[],"readme":"RestFixture: A FitNesse fixture for testing REST services\n=========================================================\n\nMaster branch build status: [![Master Branch Build Status](https://travis-ci.org/smartrics/RestFixture.svg?branch=master)](https://travis-ci.org/smartrics/RestFixture)\n\nThe RestFixture is a FitNesse (http://fitnesse.org)  fixture that allows\ndevelopers and/or product owners to write test fixtures for REST services\nwith simplicity in mind. The idea is to write tests that are self\ndocumenting and easy to write and read, without the need to write Java code.\n\nThe fixture allows test writers to express tests as actions (any of the\nallowed HTTP methods) to operate on resource URIs and express expectations on\nthe content of the return code, headers and body. All without writing one\nsingle line of Java code.\n\nAnd it also works as a living/executable documentation of the API.\n\nThe fixture can be used with both Fit (FitRestFixture) and Slim (Table:Rest Fixture) runners.\n\nOverview:\n\n* Get Fitnesse With Some Rest (http://smartrics.blogspot.com/2008/08/get-fitnesse-with-some-rest.html)\n* Rest Fixture, Latest Additions (http://smartrics.blogspot.com/2008/11/restfixture-latest-additions.html)\n* Rest Fixure with namespaces support (http://smartrics.blogspot.com/2011/01/restfixture-with-namespaces-support.html)\n\nDocumentation:\n\nhttp://github.com/smartrics/RestFixtureLiveDoc\n\n\nVersions and compatibility with FitNesse\n----------------------------------------\n\nRestFixture v3.1 and below are compatible with any release of FitNesse to date\n([v20150424](http://mvnrepository.com/artifact/org.fitnesse/fitnesse/20150424)) and no further support for newer versions\nof FitNesse is guaranteed for these versions of RestFixture.\n\nRestFixture v4.0 is compatible with [FitNesse v20150424](http://mvnrepository.com/artifact/org.fitnesse/fitnesse/20150424)\nand above having implemented proper support of Slim Symbols as described in [Issue #52](https://github.com/smartrics/RestFixture/issues/52).\n\nTest with the latest FitNesse version\n-------------------------------------\n\nThe profile `latest-fitnesse` configures the Versions plugin to fetch the latest FitNesse version. Tests can be executed to verify regression with:\n\n\u003e mvn clean versions:use-latest-releases test -P latest-fitnesse\n\nBuild: Released from 4.2 onwards\n--------------------------------\n\nTwo new profiles are available: 'bundle' and 'release' \n\n### Build the RestFixture jar ###### \n\n\u003e mvn clean package\n\nOnce the build completes, the directory target contains:\n\n* \u003ccode\u003esmartrics-RestFixture-\u0026lt;version\u003e.jar\u003c/code\u003e : the RestFixture jar\n\n### Build the RestFixture bundle ###### \n\n\u003e mvn clean package -P bundle \n\nOnce the build completes, the directory target contains:\n\n* \u003ccode\u003esmartrics-RestFixture-\u0026lt;version\u003e.jar\u003c/code\u003e : the RestFixture jar\n* \u003ccode\u003esmartrics-RestFixture-\u0026lt;version\u003e-sources.jar\u003c/code\u003e : the RestFixture sources jar\n* \u003ccode\u003esmartrics-RestFixture-\u0026lt;version\u003e-javadoc.jar\u003c/code\u003e : the RestFixture javadoc jar\n* \u003ccode\u003esmartrics-RestFixture-\u0026lt;version\u003e-bin.zip\u003c/code\u003e: a bundle the RestFixture and all dependencies.\n* \u003ccode\u003edependencies/\u003c/code\u003e : all the RestFixture dependencies (excluding a Logging framework implementation. See below for details)\n\n\nBuild: Releases from 2.1 to 4.1\n-------------------------------\n\nTo build RestFixture install Maven and execute\n\n\u003e mvn clean package\n\nOnce the build completes, the directory target contains:\n\n* \u003ccode\u003esmartrics-RestFixture-\u0026lt;version\u003e.jar\u003c/code\u003e : the RestFixture jar\n* \u003ccode\u003edependencies/\u003c/code\u003e : all the RestFixture dependencies (excluding a Logging framework implementation. See below for details)\n* \u003ccode\u003esmartrics-RestFixture-\u0026lt;version\u003e-bin.zip\u003c/code\u003e: a bundle the RestFixture and all dependencies.\n\nIf the build fails because smartrics-RestClient can't be found, check the pom.xml file and make sure the repository\nsonatype-releases-restclient is enabled.\n\nBuild: Releases up to 2.0\n-------------------------\n\nTo build RestFixture add a property file in the properties directory named \u003cyour.os.username\u003e.properties \nby copying and customising build.properties if necessary.\n\nUse\n\n\u003e ant\n\nor\n\n\u003e ant full\n\nto run the default target (this will build the Rest Fixture, start a local instance\nof FitNesse on port 7070 and run the fitnesse tests in src/test/cat. \n\nYou can also pass a build properties file to ant with \n\n\u003e ant -Dproperties=\u003cmy.bespoke.file\u003e.properties\n\nIf it all succeeds a distribution of the RestFixture is available in dist/ alongside with the latest \ndocumentation. Reports of tests and metrics are available in build/reports\n\nThe (missing!) logger framework dependency\n------------------------------------------\n\nThe RestFixture uses slf4j-api; if no logger implementation is provided slf4j defaults to nop binding. \nPlease download and add to the classpath your binding of choice (and the respective configuration file).\n\nThe current version is slf4j-api-1.6.6, hence download the matching version of the binding implementation.\n\nCheck http://www.slf4j.org/ for more details.\n\nInstall\n-------\n\nhttp://stackoverflow.com/questions/35753103/workflow-of-creating-tests-using-restfixture\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmartrics%2FRestFixture","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmartrics%2FRestFixture","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmartrics%2FRestFixture/lists"}