Comments (2)
This abstraction will now manage the reset functionality.
Transaction like behaviour will implicitly begin when the first insert or updates occur.
Calling reset on an Phabric will trigger a call on the datasource to reset the fixture.
This will delete inserts and update updated records to their original state. Reset of updates is achieved by selecting original state before applying a requested update and stroring this in an array.
Behat's hooks will allow reseting the database as necessary.
from phabric.
This work is completed as part of the latest commit.
Some issues are still outstanding that were to be completed as part of this work:
escaping
reset
Issues are still open for these items.
from phabric.
Related Issues (20)
- Impliment @everzet's recommendations on create() method HOT 5
- method name consistency HOT 1
- entity::clean() HOT 5
- Add licencing HOT 1
- Add method on the Phabric class to create all entities from config HOT 1
- Add default data transformations HOT 5
- Write a shortcut function for adding relational data transformations
- Add 'updateFromTable' functionality to Phabric and Entity HOT 1
- DB Value escaping HOT 7
- Exception throwing policy
- Decouple from Gherkin HOT 4
- Support deletion HOT 1
- Support updates on data not managed by Phabric HOT 1
- setDataTransformation HOT 1
- setDataTransformation
- Support for read from DB existing persisted child tables for Relational Data HOT 1
- Tests fail if Phabric is installed with composer HOT 1
- Create Phabric extension for Behat
- Where is Phabric going HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phabric.