diff --git a/src/Console/Commands/TestMakeCommand.php b/src/Console/Commands/TestMakeCommand.php new file mode 100644 index 0000000..e207bef --- /dev/null +++ b/src/Console/Commands/TestMakeCommand.php @@ -0,0 +1,52 @@ +rootNamespace(), '', $name); + + return $this->getLaravel()->basePath('tests/Blitz').str_replace('\\', '/', $name).'.php'; + } + + /** + * Get the root namespace for the class. + * + * @return string + */ + protected function rootNamespace() + { + return 'Tests\\Blitz'; + } +} diff --git a/src/Console/Commands/stubs/test.stub b/src/Console/Commands/stubs/test.stub new file mode 100644 index 0000000..a36eda5 --- /dev/null +++ b/src/Console/Commands/stubs/test.stub @@ -0,0 +1,13 @@ +