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

tests #2

Open
jschoch opened this issue Jun 4, 2023 · 1 comment
Open

tests #2

jschoch opened this issue Jun 4, 2023 · 1 comment

Comments

@jschoch
Copy link
Contributor

jschoch commented Jun 4, 2023

Hey Scott,

I was going to mess around with this code, but see if I can get it running on an esp32.

Before I really dug in i was thinking it would be nice to write some tests. Have you thought about testing much?

What I as thinking was trying to abstract as much as possible so the basic mechanics could be built/tested native x86 with mocks for the MCU specific code. Since there are so many versions of remora I'm not quite sure what a good reusable framework to do this would be but I think it would be nice to have the communication protocols testable and consistent.

so something like -> mock transport -> base_thread -> mock timers/stepgen

@scottalford75
Copy link
Owner

Hi Jesse,

I've not really thought about the topic or know much about unit testing. If you have some ideas I'd be interested to hear.

Thanks
Scott

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

No branches or pull requests

2 participants