filament-tests icon indicating copy to clipboard operation
filament-tests copied to clipboard

Potential additional command arguments/options

Open CodeWithDennis opened this issue 1 year ago • 0 comments

Originally posted by dissto March 13, 2024

  • [ ] --outputName Alter the output name for a given test. Instead of {ResourceName}Test.php maybe WhatEverTest.php (probably need to ensure the "Test.php" suffix
  • [ ] --withoutActions Opt out of action tests
  • [ ] --onlyActions
  • [ ] --exceptActions
  • [ ] --withoutFilters Opt out of filter tests
  • [ ] --onlyFilters
  • [ ] --exceptFilters
  • [ ] --withoutWidgets Opt out of widget tests
  • [ ] --onlyWidgets
  • [ ] --exceptWidgets
  • [ ] --onlySearchableColumns
  • [ ] --withoutSearchableColumns
  • [ ] --exceptSearchableColumns
  • [ ] --onlyVisibleColumns
  • [ ] --withoutVisibleColumns
  • [ ] --exceptVisibleColumns
  • [ ] --onlySortableColumns
  • [ ] --withoutSortableColumns
  • [ ] --exceptSortableColumns
  • [ ] --onlyTogglableColumns
  • [ ] --withoutTogglableColumns
  • [ ] --exceptTogglableColumns
  • [ ] --onlySearchableColumns
  • [ ] --withoutSearchableColumns
  • [ ] --exceptSearchableColumns
  • [ ] --onlyIndividualSearchableColumns
  • [ ] --withoutIndividualSearchableColumns
  • [ ] --exceptIndividualSearchableColumns
  • [ ] --useTestInsteadOfIt Allow the user (for the sake of preference) to generate all tests with test() instead of it()
  • [ ] --only generate tests for the specified resource/s
  • [ ] --except generate tests expect the specified (comma separated)
  • [ ] --onlyGroups generate tests for a specified group (eg. "rendering", "auth" etc)
  • [ ] --exceptGroups
  • [ ] --withoutGroups
  • [x] --outputDirectory #8
  • [x] --all generate a test for ALL resources #80

May or may not want config settings for each argument/option

CodeWithDennis avatar Apr 24 '24 15:04 CodeWithDennis