Open dillingham opened 2 years ago
$resourceName.spec.js |
---|
describe('$resourceName', () {
it('view list of $resourceName', () => {
//
})
it('view single $resourceName', () => {
//
})
it('create a $resourceName', () => {
//
})
it('update a $resourceName', () => {
//
})
it('delete a $resourceName', () => {
//
})
it('restore a $resourceName', () => {
//
})
it('delete a $resourceName permanently', () => {
//
})
})
A console command that generates a set of basic crud tests using known
data-test
attributes.All will pass initially if using the default
resources/js/Resources
views..But will offer assurances when custom views are added..
And offer a starting point to customize tests to the desired outcome