spockframework/spock: The Enterprise-ready testing ... - GitHub

文章推薦指數: 80 %
投票人數:10人

Spock Framework. Spock is a BDD-style developer testing and specification framework for Java and Groovy applications. To learn more about Spock, ... Skiptocontent {{message}} spockframework / spock Public Notifications Star 3k Fork 419 TheEnterprise-readytestingandspecificationframework. spockframework.org Apache-2.0License 3k stars 419 forks Star Notifications Code Issues 208 Pullrequests 30 Discussions Actions Projects 0 Wiki Security Insights More Code Issues Pullrequests Discussions Actions Projects Wiki Security Insights master Branches Tags Couldnotloadbranches Nothingtoshow Loading {{refName}} default Couldnotloadtags Nothingtoshow {{refName}} default Loading 17 branches 37 tags Code Loading Latestcommit britter andleonard84 Restructurebuild-logic … bb0ba23 Nov18,2021 Restructurebuild-logic Makethebasepluginamoduleofbuild-logicbuild.Thisisin preparationformovingmorebuildlogicfromtherootbuildscriptinto dedicatedpluginmodules. bb0ba23 Gitstats 2,796 commits Files Permalink Failedtoloadlatestcommitinformation. Type Name Latestcommitmessage Committime .github     .idea     build-logic     config     docs     gradle     spock-bom     spock-core     spock-groovy2-compat     spock-guice     spock-junit4     spock-specs     spock-spring     spock-tapestry     spock-testkit     spock-unitils     .editorconfig     .gitattributes     .gitignore     CONTRIBUTING.md     LICENSE     NOTICE     README.md     build.gradle     gradle.properties     gradlew     gradlew.bat     settings.gradle     Viewcode SpockFramework LatestVersions Ad-HocIntermediateReleases Modules Building Supportedversions Contributing Support Java9ModuleNames Links README.md SpockFramework SpockisaBDD-styledevelopertestingandspecificationframeworkforJavaandGroovyapplications. TolearnmoreaboutSpock,visithttps://spockframework.org.Torunasamplespecinyourbrowser,goto https://meetspock.appspot.com/. LatestVersions Thelatest2.xreleaseversionis2.1-M2(2.1-M2-groovy-2.5,2.1-M2-groovy-3.0),releasedon2021-11-12. Thecurrentdevelopmentversionis2.1-SNAPSHOT(2.1-groovy-2.5-SNAPSHOT,2.1-groovy-3.0-SNAPSHOT). NOTE:Spock2.0isbasedontheJUnit5PlatformandrequireJava8+/groovy-2.5+(Groovy3.0isrecommended,especiallyinprojectsusingJava12+). ReleasesareavailablefromMavenCentral. DevelopmentsnapshotsareavailablefromSonatypeOSS. Ad-HocIntermediateReleases ForintermediatestablebuildswerecommendtouseJitpack(gohereforinstructions): Addhttps://jitpack.ioasarepository Useorg.spockframework.spockasgroupIdandthenormalartifact-id repositories{ //... maven{url'https://jitpack.io'} } dependencies{ testImplementation'org.spockframework.spock:spock-core:spock-2.1-M2' testImplementation'org.spockframework.spock:spock-spring:spock-2.1-M2' } Forintermediatereleasesyoucanalsousethecommit-hashasversion,e.g.compilecom.github.spockframework.spock:spock-core:d91bf785a1 Modules spock-core--Coreframework.Thisistheonlymandatorymodule. spock-specs--Specificationsforspock-core,implementedusingSpock.NotrequiredforusingSpock. spock-spring--IntegrationwiththeSpringTestContextFramework. spock-tapestry--IntegrationwiththeTapestry5IoCcontainer. spock-guice--IntegrationwithGuice2/3. spock-unitils--IntegrationwithUnitils. Building Supportedversions SpockissupportedforJavaversion8+. SpockissupportedforGroovyversions2.5and3.0. ThetestsaretestingSpockwiththespecificversions(variants)ofGroovyandJava.DefaultGroovyversionis2.5. TheGroovy2.5and3.0variantshouldpassonallsupportedJDKversions: ./gradlewcleanbuild (Windows:gradlewcleanbuild). Allbuilddependencies,including thebuildtoolitself,willbedownloadedautomatically(unlessalreadypresent). Contributing Contributionsarewelcome!Pleaseseethecontributingpagefordetailedinstructions. Support Ifyouhaveanycommentsorquestions,pleasedirectthemtotheuserforum. Allfeedbackisappreciated! Java9ModuleNames Allpublishedjars(beginningwithSpock1.2)willcontainAutomatic-Module-Namemanifestattribute.ThisallowsforSpocktobe usedinaJava9ModulePath. spock-core--org.spockframework.core spock-spring--org.spockframework.spring spock-tapestry--org.spockframework.tapestry spock-guice--org.spockframework.guice spock-unitils--org.spockframework.unitils Somoduleauthorscanusewellknownmodulenamesforthespockmodules,e.g.somethinglikethis: openmodulefoo.bar{ requiresorg.spockframework.core; requiresorg.spockframework.spring; } Links SpockHomepage--https://spockframework.org SpockWebConsole--https://gwc-experiment.appspot.com/ GitHubOrganization--https://github.com/spockframework ReferenceDocumentation--https://docs.spockframework.org UserForum--https://github.com/spockframework/spock/discussions Chat--https://gitter.im/spockframework/spock StackOverflow--https://stackoverflow.com/questions/tagged/spock IssueTracker--https://github.com/spockframework/spock/issues SpockExampleProject--https://github.com/spockframework/spock-example Twitter--https://twitter.com/SpockFramework 🖖LiveLongAndProsper! TheSpockFrameworkTeam About TheEnterprise-readytestingandspecificationframework. spockframework.org Topics java testing groovy spock-framework bdd-style-testing-framework Resources Readme License Apache-2.0License Releases 14 Spock2.0 Latest May17,2021 +13releases Packages0 Nopackagespublished Contributors97 +86contributors Languages Java 57.8% Groovy 42.2% Youcan’tperformthatactionatthistime. Yousignedinwithanothertaborwindow.Reloadtorefreshyoursession. Yousignedoutinanothertaborwindow.Reloadtorefreshyoursession.



請為這篇文章評分?