Is there a recommended format for writing a technical debt story?

Our team is starting to refine a set of stories that cover components and UI as part of an upgrade to a newer version of Angular. These components will then be used to recreate screens in an existing application. We are considering this work technical debt.

Is there a recommended format for writing technical debt stories?

We use the “As a … I need to …so I can …”, as well as Gherkin’s “Given > When > Then” acceptance criteria, for our standard stories that are more directly customer focused.

Is there something similar that should be used for these tech debt stories? Or should we just list technical requirements?

Replication task not writing data?

I configured two replication tasks on a FreeNas 11.2 server, one points to data/db (80mb) and the other to data/images (1000s of files, ~1Tb approx).

Both tasks are working properly, I can see on the remote server how Storage->Pools are continuously using more and more disk space. The pool’s data/db status on the source server is Up to date, and the one for data/images is Sending data/images.

On the destination server, when I go to Storage->Pools I see ~80MB for data/db and ~8gb (and increasing) for data/images.

What makes me wonder if everything is ok, is when I go to the command line and do an ls -lah /mnt/data/db I can see the files stored there, but if I do ls -lah /mnt/data/images the directory exists, but is empty.

Also, if I do du -sh /mnt/data the used space is 80gb, so, it looks like the info I get from the UI on Storage->Pools for data/images is something stored elsewhere (in RAM maybe?). How can I see exactly where the data is being written?.


writing a code in c language that checks a certain alphabetical order input ,using only loops and condition statement [on hold]

I was asked to write a code in c language that checks a certain alphabetical order from the input and determines how many “legal” orders are there. the order goes like this: I receive multiple inputs of both numbers and letters followed by ‘@’ that determines the end of the input. once a number is received I should check the following letters (meaning if a received the number 3 I should check the next 3 letters and so on), these letters should be organized in ascending alphabetical order. for an example: ABC3DEF@ (ABC- is not a legal sequence. However, 3DEF is a legal sequence and so in total, I have one legal sequence.). I tried writing the following:

#include <stdio.h>  int main() {     int i,x,sum=0;     char cha;    while((cha= getchar()) !='@'){  scanf("%d %c",&x,&cha);  if(x>=1 && x<=9){          for(i=1;i<=x;i++){         if(cha==cha-1){                 sum++;             }    }   }  } printf("%d",sum);   return 0;  } 

but it doesn’t work, the output is always 0! (note: I am only allowed to use loops and condition statements, meaning no Array, functions…). Is there an idea that I am missing? or was my idea wrong?

High Quality Content Writing Service (As Low As $2/Article) | 200+ Satisfied Clients Since 2009

Are you looking for reliable content writers for your website?

Do you want to update your website with high quality articles that make your readers want to read more of your website content?

If you need an affordable and high quality article writing/content creation service for your website, look no further. We are offering an affordable article writing service that will be aimed to fulfill your need and get you satisfied with the quality.

We are looking for those clients who will…

High Quality Content Writing Service (As Low As $ 2/Article) | 200+ Satisfied Clients Since 2009

8 Years Digital Point Writing Experience – 1 Cent Per Word

Hello Digital Point :

I'm an American article writer with 8 years experience. My rate is 1 cent per word, and I've had tons of satisfied clients during my 8 years. I've completed thousands of orders, and I'm available most every day. I always keep my clients well informed of my status, how the work is coming along, and when they can expect their order completed. You can reach me on Skype @ samsnewphone Below is a sample of my work so you can gauge the quality!

DES Consolidated…

8 Years Digital Point Writing Experience – 1 Cent Per Word

Websites that pays up to $1000 Dollars Writing, blogging about Vacation & Travel for $1

I will give you 9 Websites that will earn you up to $ 1000 per post writing, blogging about Vacation & Travel. Copy&Paste ideas from other blogging site + 500 plr ARTICLES about Vacation & Travel “wrap it up and make some EXTRA CASH”. “+ 1 EXTRA BONUS I WANT MONEY NOW” about how to make “UNLIMITED 50+ dollars daily with cryptocurrency” after you rate me for 5 star with a great comment i will provide 1on1 coach for the extra bonus if needed. What you need to start: 1. Laptop 2. Internet 3. Write article and post 4. Learn, Earn & Live 5. Rinse and repeat on all paid Website

by: sayednaseeb
Created: —
Category: Article Writing
Viewed: 604

Writing both behavior tests and unit tests? [on hold]

Most I’ve read said that behavior tests should not be testing for exceptions because that’s the job of unit test. I am currently learning Cucumber. But the feature tests in Cucumber doesn’t seem to allow for testing exceptions, and I was thinking whether I should add regular unit tests in Junit to cover the exception cases that can’t be tested in Cucumber, this would mean I have a file for behavior tests and a file for unit tests.

Is this a good idea? Or should I still test exceptions in Cucumber step definition class by catching the exception and then failing the test manually?

is partial mocks really a bad practice when writing new code [on hold]

Suppose I have a requirement to write code to manage a person :

public class PersonService {     public void createPerson(Person p){        //create    }     public void deletePerson(int id){        //delete    }     public void modifyPerson(Person p){        deletePerson(p.getId());        createPerson(p);    } } 

I wrote the tests for createPerson and deletePerson.

Now when I want to write tests for modifyPerson, I thought that using a spy is the right thing to do (so I don’t test more than needed, and I don’t need to modify the modifyPerson test when the requirement of createPerson change)

But than, I read too much articles that states that spies should be used primarely when dealing with legacy code and partial mocks are considered code smell. That I should write modifyPerson in another class so I can mock the other methods.

I’m a little ceptic for that choise. I don’t think that my class is a bad code nor that it break single responsibility principle. Besides, I don’t think that because a method is calling another (non private) one, it should be put in another class. I’m I mistaken ?