简体   繁体   中英

Impermanent Graph Database - Neo4j In Memory with PHP

Looking at unit-testing in the docs, I would like to be able to do that in PHP as well. There's this library we're using and we have a lot of testing with the database to do.

Using Neo4j 2.1.3, any idea on how to have that done with a programming language other than Java?

Have a look at Neo4j RestTest , which you can use from any programming language via REST API.

Disclaimer: I'm one of the authors.

This question may have an answer for you: Unit Testing a Website

There are a number of free systems to do this for PHP. They may have some learning curve though. Some of these include:

  1. TOAST ( http://jensroland.com/projects/toast/ )
  2. Fitnesse ( http://fitnesse.org/ )
  3. Canoo WebTest
  4. And so on

However, if you are into the do-it-yourself mood and you are using a platform like Codeigniter, you have ways of profiling your app using the benchmarking class and presenting the performance using Google Charts. This may require having the dev skills to implement and some type of storage for the tracking data - such as a MySQL database or flat file.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM