home.social

#testdrivendevelopment — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #testdrivendevelopment, aggregated by home.social.

  1. Writing some of the IPAM implementation is probably going to be the hardest part of this project so far, and I haven't even gotten to the device <-> network relationship(s) yet.

    So far in my IPAM code, I have checks for invalid IP ranges and uniqueness, though I'm sure I'm also missing some corner cases.

    Then on the front end side, I plan to visualize network usage which can include assigned static IPs, DHCP ranges, gateway/router designations, etc.

    I'm hoping that coding it as I go through the frontend and backend will help me properly structure everything, figure out which relationships I need to pull in, and establish the design for my API.

    I'm also very happy that I have pytest tests to go with my code. I'm writing those every time I add a new section and it pays off.

    #rackroot #programming #python #vuetify #fastapi #testing #pytest #testdrivendevelopment

  2. Writing some of the IPAM implementation is probably going to be the hardest part of this project so far, and I haven't even gotten to the device <-> network relationship(s) yet.

    So far in my IPAM code, I have checks for invalid IP ranges and uniqueness, though I'm sure I'm also missing some corner cases.

    Then on the front end side, I plan to visualize network usage which can include assigned static IPs, DHCP ranges, gateway/router designations, etc.

    I'm hoping that coding it as I go through the frontend and backend will help me properly structure everything, figure out which relationships I need to pull in, and establish the design for my API.

    I'm also very happy that I have pytest tests to go with my code. I'm writing those every time I add a new section and it pays off.

    #rackroot #programming #python #vuetify #fastapi #testing #pytest #testdrivendevelopment