Sidebar

Learn Programming

"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLE
Learn Programming Faresh 1 year ago 100%
How to write unit tests for software that reads files, has a GUI or uses the internet?

Most introductions to unit testing give very simple examples of functions that simply receive some arguments and produce a result. However a lot of software has to read input from external sources, such as from the internet, from the file system, or from the user during its execution. How does one write tests for such software? For simple software that only reads a few files from the file system, I imagine can be tested by writing some files for the test to give to the tested program, but what if it becomes more complex? Or what if you are trying to test a web scrapper for a website, would the tests run a web server and simulate the targetted website? Or for the GUI, how would one test that the user can see what they are supposed to see, when they click a certain way at a certain time? Maybe the parts that read the data shouldn't be tested and only the functions that code relies on should be tested? I don't know.

3
3
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLE
Learn Programming makeasnek 1 year ago 100%
I made a new lemmy community for bug bounties lemmy.ml

If you are a dev looking to crush some bugs and make some money or an OSS project that needs some dev help, hop on in! [!bugbounties@lemmy.ml](https://lemmy.ml/c/bugbounties)

5
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLE
Learn Programming qwamqwamqwam 1 year ago 100%
Advice for setting up a debugger for a particular implementation of Javascript? (ImageJ)

Hi! I'm a self-taught novice programmer trying to write a macro in javascript for ImageJ. I've built a program that I think works, but trying to debug it without a proper debugger has been hell. I'm a hair away from just giving up and rewriting the whole thing in the program's native macro language. I looked online and it seems like I should be able to set up a debugging environment in Visual Studio Code, but I couldn't find any guide for doing that specifically for ImageJ. I use Visual Studio Code to write my javascript, but any advice on any platform or even just what I need to find to get started would be helpful. Thank you!

1
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLE
Learn Programming Helix 2 years ago 100%
Git Notes: git's coolest, most unloved­ feature - Tyler Cipriani https://tylercipriani.com/blog/2022/11/19/git-notes-gits-coolest-most-unloved-feature/

via [HN](https://news.ycombinator.com/item?id=33766396)

4
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLE
Learn Programming cyclohexane 2 years ago 100%
What is Spring Framework? An Unorthodox Guide www.marcobehler.com

cross-posted from: https://lemmy.ml/post/520617 I wanted to start learning Java's Spring Framework and Spring Boot. Coming from Node.JS, I found this article to be an amazing introduction to Spring's concepts.

1
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLE
Learn Programming stopit 2 years ago 100%
Helsinki Mooc...Python I exam

I've been working through the homework and feeling good. I think I want to take the first exam on Oct 1. Anyone done this before? I'm successfully getting through homework, but looking for tips on what else I can do to prepare to successfully pass the exam. Although it's free...I already took the morning off from my hourly job to take the exam...so...I really want, not just to pass, but really kill it!

2
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLE
Learn Programming Thann 2 years ago 100%
Oh My Git! - an open source game about learning Git! ohmygit.org
4
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLE
Learn Programming diyelectronics 3 years ago 83%
How to Install Java on Raspberry Pi In Easy Steps www.tecnohub.org

This tutorial will show you How to install Java (OpenJDK) on a Raspberry Pi running the newest Raspbian OS.

4
1
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLE
Learn Programming Thann 3 years ago 100%
Learn almost anything, kindergarten to college [KhanAcademy] www.khanacademy.org

Learn the math foundations you need to excel at computer science! (Click "courses" at the top)

10
2
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLE
Learn Programming Thann 3 years ago 100%
Kernighan & Ritchie: "The C Programming Language" [PDF] https://www.engr.colostate.edu/ECE251/References/The%20C%20Programming%20Language.pdf

The "holy bible" of C programming. (I recommend you download it) Mirror: http://math.ecnu.edu.cn/~jypan/Teaching/ParaComp/books/The%20C%20Programming%20Language%202nd.pdf

1
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLE
Learn Programming Thann 3 years ago 100%
C Programming Introduction [CS50] https://cs50.harvard.edu/

Harvard lecture series

10
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLE
Learn Programming Thann 3 years ago 100%
Python Programming Introduction [MOOC] https://programming-21.mooc.fi/

By University of Helsinki

6
0