File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ This guide provides essential tips for contributors working on the RSC plugin.
66
77### E2E Test Setup  
88
9- The e2e testing uses a scalable approach inspired by React Router's integration tests.  Tests use Playwright and are located in ` e2e/ ` .
9+ Tests use Playwright and are located in ` e2e/ `  and uses  ` examples `  as test app .
1010
1111#### Test Fixture Patterns  
1212
@@ -16,16 +16,18 @@ The e2e testing uses a scalable approach inspired by React Router's integration
1616
1717### Adding New Test Cases  
1818
19- ** Option 1: Using ` setupInlineFixture `  (Recommended for specific use cases)** 
20- Best for testing specific use cases. See ` e2e/ssr-thenable.test.ts `  for the pattern.
21- 
22- ** Option 2: Expanding ` examples/basic `  (Recommended for comprehensive features)** 
19+ ** Expanding ` examples/basic `  (for comprehensive features)** 
2320Best for features that should be part of the main test suite. ` examples/basic `  is mainly used for e2e testing:
2421
25221 .  Add your test case files to ` examples/basic/src/routes/ ` 
26232 .  Update the routing in ` examples/basic/src/routes/root.tsx ` 
27243 .  Add corresponding tests in ` e2e/basic.test.ts ` 
2825
26+ ** Using ` setupInlineFixture `  (for specific edge cases)** 
27+ Best for testing specific edge cases or isolated features. See ` e2e/ssr-thenable.test.ts `  for the pattern.
28+ 
29+ <!--  TODO: mention unit test --> 
30+ 
2931## Development Workflow  
3032
3133<!--  TODO: mention playwright vscode extension? --> 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments