turn this transcript into notes
```




Share

Google Meet - NAME_1, Jun 01, 2023 at 11:07 am
statement. So you got the test. So you write a 
test reader. 
Right. 
So in the test directory, yeah. And that's it is in test three, test reader. Okay, so each one of those is a test setting. 
Yeah, so it uses the PDFs that are in the sample statement folder. Okay, and then the name matters on those, I guess. 
Yes. The bank name in each test has to be the same as the PDF name, I guess. Yeah. Okay. 
And then it compares it with the output directory, which is which will match to the sample statement then output in the Okay. And that's it. That's just a load of spreadsheets with data that you expect it to have. 
Okay, so how you written that out yourself? 
Usually, I kind of just 
I run the extraction, look at the output spreadsheet, which will produce Oh, it will actually make one. Okay, so it will put that into the output directory. 
Yes, it will make one if it doesn't, if one doesn't exist, okay. And then you go, is this correct? And if it's not, you delete it. 
And then you tweak your things. You run it again, and once it's correct, then you don't delete it. You commit that? Is that is Yeah, and then and then the test is checking okay. 
Okay, all right. So let's just quickly go over that job. Do you have the source up? 
No, but I can do the tests I suppose some more to to stop any errors from occurring if I make any changes to fix something else? Yeah, no, of course. Yeah. Which project NAME_2? 
The Eclipse okay. Do 
you want to branch I would love for you to be okay. 
We're gonna go over the training stuff. So. 
Okay. 
Okay, and so, how do I run the tests then do I just do manage py Python manage py test that will run them and the other tests that test the API ins and things but okay, where are those tests? I haven't seen those tests. 
Okay, test case. Yeah, I see. Okay, no, I didn't see this. Okay, so that runs all tests. 
Can you scope that test specific set of tests? 
You can do Yeah. 
Yeah, so you can do manage.py tests space and then apps dot statement scanner dot tests, test reader, dot statement analyzer. Okay, so you just put so apps dot statements scanner. 
Yeah, NAME_3 tests. So you can just give it the path. Okay, so, I'm just gonna scan dot tests. Yeah, you could stop there if you wanted. But if you want to be if you want to just one one of the tests, yeah. You could go NAME_3 test reader dot statement analyzer tests. S or class name, reader. dot 
o analyzer tests class name. Yeah. And then dot function name. Yeah. 