All Projects → hgsgtk → mpunit

hgsgtk / mpunit

Licence: MIT License
Mini PHP xUnit Testing Framework

Programming Languages

PHP
23972 projects - #3 most used programming language

Labels

Projects that are alternatives of or similar to mpunit

xharness
C# command line tool for running tests on Android / iOS / tvOS devices and simulators
Stars: ✭ 123 (+720%)
Mutual labels:  xunit
kekiri
A .NET framework that supports writing low-ceremony BDD tests using Gherkin language
Stars: ✭ 19 (+26.67%)
Mutual labels:  xunit
xunit-orderer
Implementation of ITestCaseOrderer enforcing xUnit to run the facts in strict order
Stars: ✭ 15 (+0%)
Mutual labels:  xunit
toolbox
dein ToolBox - C# .Net Library with utilities like: command line, files, log, platform, shell, system, transform and validation [ Win+Mac+Linux ]
Stars: ✭ 46 (+206.67%)
Mutual labels:  xunit
ArchitectNow.ApiStarter
Sample ASP.NET Core 2 API Setup used by ArchitectNow for corresponding workshop presentations
Stars: ✭ 35 (+133.33%)
Mutual labels:  xunit
Xunit.Categories
Friendlier attributes to help categorize your tests
Stars: ✭ 85 (+466.67%)
Mutual labels:  xunit
XunitContext
Extends xUnit to expose extra context and simplify logging
Stars: ✭ 127 (+746.67%)
Mutual labels:  xunit
xunit-unity-runner
Run Xunit tests on Unity player
Stars: ✭ 13 (-13.33%)
Mutual labels:  xunit
FakeItEasy.AutoFakeIt
A very simple, yet flexible, "AutoFaker" for FakeItEasy to easily auto generate classes with faked dependencies.
Stars: ✭ 15 (+0%)
Mutual labels:  xunit
iisexpress-testkit
IIS Express TestKit
Stars: ✭ 13 (-13.33%)
Mutual labels:  xunit
xunit-to-junit
This Extensible Stylesheet Language Transformations can transform a xUnit.net v2 XML test results file into a JUnit test results file.
Stars: ✭ 21 (+40%)
Mutual labels:  xunit
xunit.testlogger
XUnit logger for vstest platform
Stars: ✭ 65 (+333.33%)
Mutual labels:  xunit
test-class
Test::Class - an xUnit testing framework for Perl 5.x
Stars: ✭ 18 (+20%)
Mutual labels:  xunit
MsCoreOne
MsCoreOne is a simple Ecommerce with using many technologies such as .NET 5, Entity Framework Core 5, React 16.13 with modern Clean Architecture, Domain-Driven Design, CQRS, SOLID, Identity Server 4, Blazor. It will focus on resolving the problems always see in the process to develop projects.
Stars: ✭ 77 (+413.33%)
Mutual labels:  xunit
pact-workshop-dotnet-core-v1
A workshop for Pact using .NET Core
Stars: ✭ 66 (+340%)
Mutual labels:  xunit
MinimalApi
ASP.NET Core 7.0 - Minimal API Example - Todo API implementation using ASP.NET Core Minimal API, Entity Framework Core, Token authentication, Versioning, Unit Testing, Integration Testing and Open API.
Stars: ✭ 156 (+940%)
Mutual labels:  xunit
testcontainers-dotnet
dotnet port of testcontainers-java
Stars: ✭ 22 (+46.67%)
Mutual labels:  xunit
tap-xunit
TAP to xUnit XML converter
Stars: ✭ 40 (+166.67%)
Mutual labels:  xunit
Kodkod
https://github.com/alirizaadiyahsi/Nucleus Web API layered architecture startup template with ASP.NET Core 2.1, EF Core 2.1 and Vue Client
Stars: ✭ 45 (+200%)
Mutual labels:  xunit
contoso-university
Contoso University demo using asp net core and related technologies
Stars: ✭ 42 (+180%)
Mutual labels:  xunit

mpunit

Mini PHP xUnit Testing Framework

Demonstration

On success...

$ ./bin/mpunit example/tests
Mini PHP xUnit Testing.

....

OK (2 tests 4 assertions)

On failure...

$ ./bin/mpunit
Mini PHP xUnit Testing.

F...

FAILED
Failed assertion FizzBuzz1Test::testFizzBuzz_FizzBuzz actual: FizzBuzz, expected: FizzBuzzs
#0 /Users/user/src/github.com/hgsgtk/mpunit/src/Assert.php(15): assert(false, 'actual: FizzBuz...')
#1 /Users/user/src/github.com/hgsgtk/mpunit/src/Assert.php(24): MPUnit\TestCase->assertThat(false, 'actual: FizzBuz...')
#2 /Users/user/src/github.com/hgsgtk/mpunit/example/tests/FizzBuzz1Test.php(12): MPUnit\TestCase->assertSame('FizzBuzzs', 'FizzBuzz')
#3 /Users/user/src/github.com/hgsgtk/mpunit/src/Command.php(62): FizzBuzz1Test->testFizzBuzz_FizzBuzz()
#4 /Users/user/src/github.com/hgsgtk/mpunit/bin/mpunit(20): MPUnit\Command->run()
#5 {main}

FAILURE!
Tests: 2 Assertions: 4, Failures: 1

Features

  • Collection TestCases
  • Assertion
  • Error Reporting
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].