Be two developers working on the same building block

How is the best way for the working progress, to be two developers working on the same building block, and both could test it on a developer server? Without interfering with each other's test of the building block.