]> Raphaƫl G. Git Repositories - bbcode/blobdiff - tests/README
Add basic tests
[bbcode] / tests / README
diff --git a/tests/README b/tests/README
new file mode 100644 (file)
index 0000000..7e7d38c
--- /dev/null
@@ -0,0 +1,20 @@
+--TEST--
+Success test
+--SKIPIF--
+<?php if (!extension_loaded("bbcode")) print "skip"; ?>
+--FILE--
+<?php 
+/*
+ * you can add regression tests for your extension here
+ * 
+ * the output of your test code has to be equal to the
+ * text in the --EXPECT-- section below for the tests
+ * to pass, differences between the output and the
+ * expected text are interpreted as failure
+ * 
+ * see php7/README.TESTING for further information on
+ * writing regression tests
+ */
+echo "Success";
+--EXPECT--
+Success