File tree Expand file tree Collapse file tree 3 files changed +28
-3
lines changed Expand file tree Collapse file tree 3 files changed +28
-3
lines changed Original file line number Diff line number Diff line change 1+ FROM  node:latest
2+ 
3+ RUN  npm i -g smelly-cli -y
4+ 
5+ CMD  ["smelly-cli" ]
Original file line number Diff line number Diff line change 77Smelly is a command line tool application that helps javascript/typescript developers to keep their test
88suite away from test smells.
99
10+ ## Installation  
11+ 
12+ ### docker  
13+ 
14+ ``` sh 
15+ g clone https://github.com/marabesi/smelly-test.git
16+ cd  smelly-test/cli
17+ docker build .  -t smelly-cli
18+ ``` 
19+ 
20+ Running the report
21+ 
22+ ``` sh 
23+ docker run --rm smelly-cli
24+ ``` 
25+ 
1026## Command Line Interface  
1127
1228Single file
1329
1430``` sh 
15- npm run  cli -- path/to/file/ test.js  typescript
31+ npx smelly- cli /smells/my- test.ts  typescript  
1632``` 
1733
1834Report
1935
2036``` sh 
21- npm run  cli -- path/to/file/test.js typescript  --report=html
37+ npx smelly- cli /smells/ javascript  --report=html  $( pwd ) 
2238``` 
2339
2440## Resources  
Original file line number Diff line number Diff line change 1- -  https://github.com/mochajs/mocha-examples/tree/main/packages/typescript 
1+ -  https://github.com/mochajs/mocha-examples/tree/main/packages/typescript 
2+ 
3+ ## resources  
4+ 
5+ -  https://stackoverflow.com/questions/77319559/properly-exporting-types-in-npm-package 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments