unit-testing-tips
framework
Our great sponsors
unit-testing-tips | framework | |
---|---|---|
8 | 6 | |
1,096 | 18 | |
- | - | |
5.1 | 7.8 | |
3 months ago | 9 months ago | |
HTML | PHP | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
unit-testing-tips
- Need Help for writing test, especially about PHPUNIT
-
Self Improvement
I'd recommend you learn TDD, which is IMO an unvalued technique, but a very important one. You can check my tips for testing: https://github.com/sarven/unit-testing-tips there are also provided two very good books that will boost your knowledge about testing practices.
-
Unit testing tips by examples in PHP
https://github.com/sarven/unit-testing-tips#mock-vs-stub
framework
- Don't be clever
-
What are the popular PHP Frameworks you are using for the development of web applications and why?
I did implement PSR7 in the develop branch though.
- I'm new to PHP OOP and looking for feedback on my proposed OOP design structure before I dive in a start coding it. Thanks!
-
Exiting the Vietnam of Programming: Our Journey in Dropping the ORM (In Golang)
https://github.com/Divergence/framework/blob/6af1b6b0e56b25c...
Where people go wrong is trying to do this field normalization logic inside their query builder. That leads to all sorts of problems. The query builder shouldn't know what is going on with your ORM at all. It's just gluing strings together to form a query.
You can see my dead simple query builder here: https://github.com/Divergence/framework/tree/develop/src/IO/...
I honestly used to not have one as it's so simple but decided it was a good abstraction to assimilate from other frameworks. My query builder does not attempt to sanitize anything. The ActiveRecord class takes care of that through the data mapping conversion functions for all the basic HTTP CRUD functionality.
-
Official PHP Git server targeted in attempt to bury malware in code base | ZDNet
If you believe you can find a security hole in my ORM I'm all ears.
-
Looking for suggestions for ActiveRecord-like ORM class
I wrote my own like 10 years ago https://github.com/Divergence/framework/blob/release/src/Models/ActiveRecord.php
What are some alternatives?
php-ddd-example - 🐘🎯 Hexagonal Architecture + DDD + CQRS in PHP using Symfony 6
PHP-MVC-REST-API - A simple PHP MVC REST API framework with PHP 7.2 With routes and some tools to develop your API.
Functional-core-imperative-shell - Functional core imperative shell
lessql - LessQL: A lightweight and performant PHP ORM alternative
Codeception - Full-stack testing PHP framework
Idiorm - A lightweight nearly-zero-configuration object-relational mapper and fluent query builder for PHP5.
bref - Serverless PHP on AWS Lambda
RedBean - ORM layer that creates models, config and database on the fly
GildedRose-Refactoring-Kata - Starting code for the GildedRose Refactoring Kata in many programming languages.
php-pm - PPM is a process manager, supercharger and load balancer for modern PHP applications.
Lift-Kata - starting position for the Lift Kata with an Approval Testing approach
CandyPHP - 🍭 Candy PHP Framework