Code Monkey home page Code Monkey logo

bdtest's Introduction

Hi there ๐Ÿ‘‹

Thomhurst's GitHub stats

bdtest's People

Contributors

absalnaffakh avatar afscrome avatar asos-tomlonghurst avatar code-factor avatar dependabot[bot] avatar simonness avatar thomhurst avatar

Stargazers

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

Watchers

 avatar

bdtest's Issues

unable to create complex scenario given-when-then-when-then

[Test]
[ScenarioText("end to end testing scenario create and find")]
public async Task FindNonExistingAccountReturnsNotFound()
{
await When(() => AccountSteps.CreateAnAccount())
.Then(() => HttpAssertions.TheHttpStatusCodeIs(HttpStatusCode.OK))
.When(() => AccountSteps.FindAccount(12345)) // <- CANNOT RESOLVE SYMBOL WHEN
.Then(() => HttpAssertions.TheHttpStatusCodeIs(HttpStatusCode.NotFound))
.BDTestAsync();
}

Please reinstate the HTML report generator

We generate the lightweight single-page HTML report and publish to a build tab in Azure DevOps. This was a really useful feature and had the added benefit of being a single-page living document that we could share with Product Owners to discuss test coverage. The test report server is great, but being able to generate a report and publish it to the test summary page on the build pipeline is also a really handy feature. Please reinstate it.

Please strongly name any BDTest asseblies so BDTest can be used in Signed Test Projects

I am unable to use BDTest within Signed test projects as BDTest assemblies are not strongly named.

The below exception is thrown upon test execution:

System.IO.FileLoadException : Could not load file or assembly 'BDTest, Version=2.3.27.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)

Intiaiting code is a as simple as:

[Test]
public void TestPass()
{
    new BDTestBuilder()
        .When(() => DoNothing())
        .Then(() => DoNothing())
        .BDTest();
}

public void DoNothing()
{ 

}

Please note that not using the BDTestBuilder and inheriting from a base test class results in the test not running at all and no errors being produced

My test projects have to be strongly named as they require visibility of internal members of their production counterparts (the production counterparts are signed hence why the test project is signed)

https://learn.microsoft.com/en-us/dotnet/standard/library-guidance/strong-naming

https://learn.microsoft.com/en-us/dotnet/standard/assembly/sign-strong-name

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.