Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

more integration tests #4

Open
iykekings opened this issue May 10, 2020 · 11 comments
Open

more integration tests #4

iykekings opened this issue May 10, 2020 · 11 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@iykekings
Copy link
Member

No description provided.

@iambenkay
Copy link

Hello there. I want to settle this matter. I have fair knowledge of rust and I would like to use this issue to exercise a bit.
When you say integration tests, you mean actual test suites and not doc strings right?

@iykekings
Copy link
Member Author

Yeah, check out tests/integration_test.rs for example

@iambenkay
Copy link

Alright thanks.

@iambenkay
Copy link

iambenkay commented Jun 6, 2020

@iykekings while writing tests for Las.wrap() I noticed that all the .las files in ./sample are not wrapped. I would love one that is wrapped so that I can make sure the wrap function works in all cases.

@iykekings
Copy link
Member Author

You can find more las files from here http://www.kgs.ku.edu/PRS/Scans/Log_Summary/index.html

@iambenkay
Copy link

Alright thanks.

@iambenkay
Copy link

I am spending most of my time just refactoring the tests into files and improving test coverage.

Just incase there are any domains of the program that tests have not been written for you can tell me so I'll do that.

@iykekings
Copy link
Member Author

Yeah many exposed methods on the Las struct doesn't have test
In the impl block of Las, check for functions with pub

@iykekings
Copy link
Member Author

curve_params and log_params doesn't have integration tests. You can get an idea how to write tests for them from integration_test::well_sections. Also check their doc example

@dcslagel
Copy link
Contributor

@iambenkay, @iykekings, would it be a good idea to make @iambenkay's current completed work a pull-request and move the new integration tests for curve_params, and log_params to a new issue?

@iykekings
Copy link
Member Author

@dcslagel I will take a look at that...Thanks for pointing it out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

6 participants