GithubHelp home page GithubHelp logo

dbcontest's Introduction

DBConTest

EFCore context auto tester and mocking framework

Goal: Have an easy to setup tester that will run CRUDE tests on any EFCore context that you give to it. It should be able through reflection or other methods find relationships and test those as well.

Tests should: Create Attempt to create with subsets Create with children Link children seperatley Check for any missed attributes like length and not null Read Read fields seperatley Read with all children Try to lazy load Eager load Check for any SQL that is evaluated on the server Update items Update seperatley Update single item Update with children Delete Referential integrity Delete by other lookups

Do all of this in a transaction

Second long term goal: Create mocked database, possibly an in memory one or a file based one

Dream: You can add this to your DB context to feed it anything that happens in it while it is running. IE, add it to the DBContext and then let it run while you work on the frontend and it just adds anything that is processed.

Also possibly give it some type of easy to read csv or json based approach that will allow developers to just manually alter it if they want. But make it a optimal compile once solution so that the tests are not slowed down.

dbcontest's People

Contributors

icodegorilla avatar

Watchers

 avatar

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.